diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-03-30 11:13:49 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-04-19 06:32:36 -0700 |
commit | 8638d0afb4df0d3cebcd10c3056dcb4a52432941 (patch) | |
tree | 98782c5a44d7678d49ab8f75231825ec3bc87504 /drivers/hwmon/applesmc.c | |
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>
Diffstat (limited to 'drivers/hwmon/applesmc.c')
0 files changed, 0 insertions, 0 deletions