]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7411) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sat, 19 Jul 2014 14:42:33 +0000 (22:42 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:40 +0000 (07:01 -0700)
commit726d2408865ae44ac8bb5447c0b59f2c27e0e008
tree9a9776af866f229547ce74f3dc94092295a9019b
parent45298c1466fb247a06c002af52cc886847071d5d
hwmon: (adt7411) 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/adt7411.c