]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7462) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 16 Jul 2014 15:10:46 +0000 (23:10 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:39 +0000 (07:01 -0700)
commit08b77ccf5bbeb9f52971bc9d1990ebf4b22c6d5e
treef1444b948775b9d4205c77c515fb674449c80d67
parent9ba46922fd2ac6301027486b1e8a7f2964698e4e
hwmon: (adt7462) 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/adt7462.c