summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ltc4215.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-02-16 15:49:04 -0800
committerGuenter Roeck <linux@roeck-us.net>2014-03-03 08:01:05 -0800
commitd72d19c26c417d514787ae85b197af34de286c0a (patch)
tree7a199d3eb89f97bf09e945ac6db0e2acab8a8261 /drivers/hwmon/ltc4215.c
parentc503a811e44f4a861e3db0540dd7d4f2146a10f2 (diff)
downloadtalos-obmc-linux-d72d19c26c417d514787ae85b197af34de286c0a.tar.gz
talos-obmc-linux-d72d19c26c417d514787ae85b197af34de286c0a.zip
hwmon: (coretemp) Convert to use devm_hwmon_device_register_with_groups
Simplify code, reduce code size, and attach sysfs attributes to hwmon device. For this driver, the only attribute created is the name attribute. Other attributes are still created and removed dynamically as cores are added or removed. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Jean Delvare <jdelvare@suse.de> Tested-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'drivers/hwmon/ltc4215.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud