On Thu, Dec 31, 2020 at 09:18:55AM +0800, Tian Tao wrote: > Switch to using the new API kobj_to_dev() to fix the below warnning: > drivers/hwmon/it87.c:2293:60-61: WARNING opportunity for kobj_to_dev() > drivers/hwmon/it87.c:2161:60-61: WARNING opportunity for kobj_to_dev() > drivers/hwmon/it87.c:1984:60-61: WARNING opportunity for kobj_to_dev() > drivers/hwmon/it87.c:2129:60-61: WARNING opportunity for kobj_to_dev() > drivers/hwmon/it87.c:2232:60-61: WARNING opportunity for kobj_to_dev() > drivers/hwmon/it87.c:2068:60-61: WARNING opportunity for kobj_to_dev() > > Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx> Applied. Thanks, Guenter