]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adm1029) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sun, 29 Jun 2014 01:42:17 +0000 (09:42 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:35 +0000 (07:01 -0700)
commit61ad12f2e6ade401a4d1b75205806f8a3daa78ba
tree127a9d014f691ef074af9c45745cf78ada6f4438
parent246e7b56475560bbb925b26f1f93beb4321d9e1f
hwmon: (adm1029) 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/adm1029.c