hwmon: (amc6821) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Sun, 29 Jun 2014 02:33:34 +0000 (10:33 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:35 +0000 (07:01 -0700)
commit1276fae2a93142525580d6f6ab77105f4d7a0e09
treee5b9e6aebbd1a4c02ce63246c632c17e5a47d7ea
parent28e6274d8fa67ecb468eaa219c45595384e3bda8
hwmon: (amc6821) 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/amc6821.c
This page took 0.02452 seconds and 5 git commands to generate.