]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/hwmon/gl520sm.c
hwmon: (gl520sm) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 3 Jul 2014 01:50:13 +0000 (09:50 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:36 +0000 (07:01 -0700)
commitd1b9c3f50304376f365e305ff61c3ae9a358e2f9
tree9b6c58bd522456b1a32d17d8437d0bb2cb22f452
parentdf51f2d7bc8bf99a7f9c29b2f334e412613c2efc
hwmon: (gl520sm) 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/gl520sm.c