OSDN Git Service

hwmon: (emc6w201) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sun, 29 Jun 2014 03:32:01 +0000 (11:32 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:35 +0000 (07:01 -0700)
commit7b3dadc4b391c878c26917e23e2af8653dd13db3
tree59af22021b762421332e1bf50474cdeb453087fa
parent1276fae2a93142525580d6f6ab77105f4d7a0e09
hwmon: (emc6w201) 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/emc6w201.c