hwmon: (lm93) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Wed, 2 Jul 2014 12:36:50 +0000 (20:36 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:36 +0000 (07:01 -0700)
commit6579d589eaa0f86a902504f76b4f973e2978d951
tree7d8bdc748f61de0cc872dd817e2ad6d82aec67d0
parent40ebdb9274ba71b6211f500904a3935af81a00ca
hwmon: (lm93) 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/lm93.c