hwmon: (it87) Convert to use new hwmon API
authorGuenter Roeck <linux@roeck-us.net>
Mon, 30 Mar 2015 18:13:49 +0000 (11:13 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:36 +0000 (06:32 -0700)
commit8638d0afb4df0d3cebcd10c3056dcb4a52432941
tree98782c5a44d7678d49ab8f75231825ec3bc87504
parentd376684880beb603a11fb6593489a21398d2a491
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>
drivers/hwmon/it87.c
This page took 0.025347 seconds and 5 git commands to generate.