hwmon: (nct7802) Replace container_of() API
authorhailizheng <haili.zheng@powercore.com.cn>
Tue, 19 May 2020 12:25:19 +0000 (08:25 -0400)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 22 May 2020 13:28:38 +0000 (06:28 -0700)
commitd06f9e6c8960d1b27245e3fe149c3a32a4894d4b
treeff7c59eb26695763f922c84d12653344e7ebe42d
parent229d495d8189ae785dacee72e5633a58edc25ddf
hwmon: (nct7802) Replace container_of() API

Replace container_of() API with kobj_to_dev().

Signed-off-by: hailizheng <haili.zheng@powercore.com.cn>
Link: https://lore.kernel.org/r/1589891119-16508-1-git-send-email-haili.zheng@powercore.com.cn
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7802.c