]> git.karo-electronics.de Git - linux-beck.git/commit
hwmon: (jz4740) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sun, 29 Jun 2014 13:39:11 +0000 (21:39 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 28 Jun 2016 01:58:03 +0000 (18:58 -0700)
commit699f279d998cf95809babc987abd4a409eada5b2
tree5efc6361d6f6c890a9a314794804e113c57a8e34
parent157926c013b39561fd1e3b93f8df96fb0ed17648
hwmon: (jz4740) 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/jz4740-hwmon.c