Skip to content
Commit 77d76768 authored by Yang Li's avatar Yang Li Committed by Guenter Roeck
Browse files

hwmon: Switch to using the new API kobj_to_dev()



fixed the following coccicheck:
./drivers/hwmon/hwmon.c:82:60-61: WARNING opportunity for kobj_to_dev()

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1614071667-5665-1-git-send-email-yang.lee@linux.alibaba.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 124b7e34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment