]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (lm92) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Sat, 12 Apr 2014 20:17:16 +0000 (13:17 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 28 Apr 2014 15:56:59 +0000 (08:56 -0700)
commit327b755151ba3977300f56f3c72f013816039f04
tree8b26e61f6efb0de51230e31aaf1ad665709629e8
parentdc0ec6c3deeeab747a1a07c9e4ef29c2b2319b96
hwmon: (lm92) 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/lm92.c