]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (atxp1) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Fri, 6 Jun 2014 23:55:10 +0000 (07:55 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:33 +0000 (07:01 -0700)
commit1c142f36d5a3f8204c7506dd28d0a7b1f59adf85
tree823eb3a97ee42ce96ad4a325a2e899d569b66b3a
parent583240f6e3a552db3a4aa9d58555542048a61103
hwmon: (atxp1) Convert to devm_hwmon_device_register_with_groups

Use ATTRIBUTE_GROUPS macro and devm_hwmon_device_register_with_groups.
This simplifies the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/atxp1.c