hwmon: (w83l786ng) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 25 Jun 2014 01:39:51 +0000 (09:39 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:34 +0000 (07:01 -0700)
commit202e4851f8aa6bad39c7799dac93c6951d064c87
treedd42cfc870243260dafa5b7c3bc1511ddf0d612f
parentbab711ae8c7ad40f080dc74cc1c664cfe56ceff3
hwmon: (w83l786ng) 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>
Acked-by: Kevin Lo <kevlo@kevlo.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83l786ng.c