diff options
author | 2020-12-31 09:03:41 +0800 | |
---|---|---|
committer | 2021-01-27 17:44:18 -0800 | |
commit | f1fc688c65fd3abe058420c785276c81d4a9c66e (patch) | |
tree | 80cbbfed1b2aa32ec0189a3a52c79cb626769295 /drivers/hwmon/aspeed-pwm-tacho.c | |
parent | hwmon: (pwm-fan) Support multiple fan tachometers (diff) | |
download | wireguard-linux-f1fc688c65fd3abe058420c785276c81d4a9c66e.tar.xz wireguard-linux-f1fc688c65fd3abe058420c785276c81d4a9c66e.zip |
hwmon: (max6650) Switch to using the new API kobj_to_dev()
Switch to using the new API kobj_to_dev() to fix the below warnning:
drivers/hwmon/max6650.c:324:60-61: WARNING opportunity for
kobj_to_dev().
Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Link: https://lore.kernel.org/r/1609376621-46463-1-git-send-email-tiantao6@hisilicon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/aspeed-pwm-tacho.c')
0 files changed, 0 insertions, 0 deletions