thermal: Use kobj_to_dev() instead of container_of()
authorTian Tao <tiantao6@hisilicon.com>
Wed, 19 Aug 2020 01:14:31 +0000 (09:14 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 12 Oct 2020 10:08:35 +0000 (12:08 +0200)
commit6ad1c515b8fb572b825d31e27b902f4ae9b0aa38
treedbc043bb050ec629ec76d38aa39656e07a8e6dba
parent8790710a0f07d7d044632da7737b0563c6cfa896
thermal: Use kobj_to_dev() instead of container_of()

Use kobj_to_dev() instead of container_of()

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1597799671-11530-1-git-send-email-tiantao6@hisilicon.com
drivers/thermal/thermal_sysfs.c