hwmon: (pwm-fan) Convert to hwmon_device_register_with_info API
authorPaul Barker <pbarker@konsulko.com>
Sat, 28 Nov 2020 17:49:09 +0000 (17:49 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 3 Dec 2020 01:42:24 +0000 (17:42 -0800)
commit1aa0365574ab63838ac851ca340475bf4b58b9af
tree04f3f390beeedf5388de44c176932c4222d1d891
parentb5fcb8a4018dabf9cbcb9a83757bd74576c66174
hwmon: (pwm-fan) Convert to hwmon_device_register_with_info API

The pwm-fan driver is updated to use the recommended API.

Signed-off-by: Paul Barker <pbarker@konsulko.com>
[groeck: Dropped unused variable]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pwm-fan.c