hwmon: (ds620) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 9 Jul 2014 01:59:51 +0000 (09:59 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:38 +0000 (07:01 -0700)
commitf073b9942731cbef167b8a6d6bacc80370fddf8c
treee75041d4ece1cab8ad4a60c2dd69b0a187475943
parenta7b30ea500989e1fde0adbe563976d5379fedb59
hwmon: (ds620) 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/ds620.c