]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
hwmon: (abx500) Switch to using the new API kobj_to_dev()
authorTian Tao <tiantao6@hisilicon.com>
Thu, 26 Nov 2020 02:21:20 +0000 (10:21 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 3 Dec 2020 01:42:24 +0000 (17:42 -0800)
commit02c155cb321643df9400a9af082902fcff222ad9
tree242e41539d0d8ec05f77853570e927d3ba8e8e7b
parent12d36c8362d090ce108ce4283f9e655373e2b472
hwmon: (abx500) Switch to using the new API kobj_to_dev()

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

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1606357280-51921-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/abx500.c