]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm78) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 23 Jul 2014 04:39:21 +0000 (12:39 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:40 +0000 (07:01 -0700)
commitdbc594b32d037d5749a495366676e7c3fb613a71
tree706be680585357e2ea0af5c879ae8ba42a1eb789
parent99b8134a8971733c35cb76c2e842ff0cdc628328
hwmon: (lm78) 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/lm78.c