]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adm1026) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 3 Jul 2014 13:53:01 +0000 (21:53 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:37 +0000 (07:01 -0700)
commit8a5d97eb55d428f11271c2dff08ab9d474dcccc9
tree3d3823c8c6d0958e392afca10d30754a8ac5f10f
parent69e068fbb1de6e2c16fba10512010af4255aa542
hwmon: (adm1026) 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/adm1026.c