]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adm9240) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 3 Jul 2014 14:01:48 +0000 (22:01 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
commit99941a4ab8e81329652902f3ae550fb244fccdc3
tree35d23f6b1b0ea1adfac8fe5de6d2adad90d7c784
parentd8f794721de53652a668b89f8015436835c1a849
hwmon: (adm9240) 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/adm9240.c