]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (lm70) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sun, 6 Apr 2014 04:44:47 +0000 (21:44 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Apr 2014 15:56:58 +0000 (08:56 -0700)
commit3658a3501072de00c04189efd07cd9dd4606b286
treeef10ea59dd4dbc88005eafe7c9f2b4cd992e6047
parentd1db0eea852497762cab43b905b879dfcd3b8987
hwmon: (lm70) Convert to use devm_hwmon_device_register_with_groups

Use devm_hwmon_device_register_with_groups API to attach attributes
to hwmon device, simplify code, and reduce code size.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm70.c