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: NAbaci Robot <abaci@linux.alibaba.com> Signed-off-by: NYang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/1614071667-5665-1-git-send-email-yang.lee@linux.alibaba.comSigned-off-by: NGuenter Roeck <linux@roeck-us.net>
Showing
想要评论请 注册 或 登录