hwmon: (adt7411) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sat, 19 Jul 2014 14:42:33 +0000 (22:42 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:40 +0000 (07:01 -0700)
commiteac83cd9dca6ba2e5a8ba8b823daf8fdbbeae109
tree9a9776af866f229547ce74f3dc94092295a9019b
parent398e16db62620dd80a237c5043bec5c9335ac92c
hwmon: (adt7411) 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>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7411.c