]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (tmp421) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sun, 6 Apr 2014 04:22:46 +0000 (21:22 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 1 May 2014 11:09:18 +0000 (04:09 -0700)
commit88c7e6f1476be772b9c08a06a5203213a635bf17
tree398b3d9a650522394f74b1781220481bdc565b16
parent8889088cb6dc86ccc937af9313f76132025a7ca7
hwmon: (tmp421) 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/tmp421.c