]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
hwmon: (twl4030-madc-hwmon) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sat, 14 Jun 2014 06:33:24 +0000 (14:33 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:33 +0000 (07:01 -0700)
commit5495af5f3e6e2cce34a2c22ecd8b1a94e93c184a
tree47dc1c2fb06967df42e7ce4c67d70b51924d81cd
parentf4ff415564cbd1221e5bbac80f97ee94b7e5258d
hwmon: (twl4030-madc-hwmon) 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/twl4030-madc-hwmon.c