]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (amc6821) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sun, 29 Jun 2014 02:33:34 +0000 (10:33 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:35 +0000 (07:01 -0700)
commit7cb4bfbb9b85291d2909ffcb684f7e0dcb4e6d2f
treee5b9e6aebbd1a4c02ce63246c632c17e5a47d7ea
parent2be31a976a445ca1d8ac8280e0e29338f190fe49
hwmon: (amc6821) 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/amc6821.c