hwmon: (smsc47m192) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 17 Jul 2014 11:21:44 +0000 (19:21 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:39 +0000 (07:01 -0700)
commit166f72966d69334a68774abb7eaa73eece54d464
treeab668a745540adcd12ec6167848a8a7e9f88ca33
parent94314e259333892e7b085cd343720bbdc2fa67c5
hwmon: (smsc47m192) Convert to devm_hwmon_device_register_with_groups

Use 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/smsc47m192.c