commit | 8638d0afb4df0d3cebcd10c3056dcb4a52432941 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon Mar 30 11:13:49 2015 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Tue Apr 19 06:32:36 2016 -0700 |
tree | 98782c5a44d7678d49ab8f75231825ec3bc87504 | |
parent | d376684880beb603a11fb6593489a21398d2a491 [diff] |
hwmon: (it87) Convert to use new hwmon API Convert to use devm_hwmon_device_register_with_groups to simplify code and reduce code size. This also attaches sysfs attributes to the hwmon device and no longer to the platform device. Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>