]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit04753537c1358be03ce0931967f3dd7832cc883a
treee75041d4ece1cab8ad4a60c2dd69b0a187475943
parent36375b551c5d6bd3bddca5059ee6e9bd07a3af03
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