hwmon : (nct6775) Use kobj_to_dev() API
authorzhouchuangao <chuangaozhou@gmail.com>
Mon, 11 May 2020 03:43:06 +0000 (11:43 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 22 May 2020 13:28:38 +0000 (06:28 -0700)
commit036855a4c3b3703ef44b5edb83b794d1b99d51f6
treed6636e96eef500194d400310b3e7190bd8b5f486
parent2138f8853a00b2d680889a684e92556074fcf901
hwmon : (nct6775) Use kobj_to_dev() API

Use kobj_to_dev() API instead of container_of().

Signed-off-by: zhouchuangao <zhouchuangao@xiaomi.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6775.c