diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-08 09:27:38 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-09-22 11:14:52 -0700 |
commit | 9b993e36611bd8029b81637ad53a262fa7882af1 (patch) | |
tree | 3568db610b43f5b3634ebcf348d77fe891b903e4 /drivers/hwmon/ntc_thermistor.c | |
parent | 93c090b36ae977bc719f7ea2fcbf4a2e8e92e439 (diff) | |
download | talos-op-linux-9b993e36611bd8029b81637ad53a262fa7882af1.tar.gz talos-op-linux-9b993e36611bd8029b81637ad53a262fa7882af1.zip |
hwmon: (smsc47b397) Convert to devm_hwmon_device_register_with_groups
Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups() to
simplify the code a bit.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/ntc_thermistor.c')
0 files changed, 0 insertions, 0 deletions