diff options
author | Tian Tao <tiantao6@hisilicon.com> | 2020-11-26 10:21:20 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-12-02 17:42:24 -0800 |
commit | 02c155cb321643df9400a9af082902fcff222ad9 (patch) | |
tree | 242e41539d0d8ec05f77853570e927d3ba8e8e7b /drivers/hwmon/pwm-fan.c | |
parent | 12d36c8362d090ce108ce4283f9e655373e2b472 (diff) | |
download | linux-stable-02c155cb321643df9400a9af082902fcff222ad9.tar.gz linux-stable-02c155cb321643df9400a9af082902fcff222ad9.tar.bz2 linux-stable-02c155cb321643df9400a9af082902fcff222ad9.zip |
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>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions