]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lineage-pem) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sat, 5 Jul 2014 03:22:44 +0000 (11:22 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
commitd8f794721de53652a668b89f8015436835c1a849
tree1f6c6c1514515c89df1d42d8db3010574cc0ef5a
parent13594ffcae9c2aedac64763ace4195967cb26a41
hwmon: (lineage-pem) 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/lineage-pem.c