hwmon: (thmc50) Convert to devm_hwmon_device_register_with_groups
authorAxel Lin <axel.lin@ingics.com>
Thu, 17 Jul 2014 11:06:08 +0000 (19:06 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 4 Aug 2014 14:01:39 +0000 (07:01 -0700)
commit86fd260e0b15d8718ab711f3fd802713e1bfbe89
tree816301dac7d30dce5152c66f52a878cd159faa5e
parent9b38a66e1a6570b1aff2c1f892b567eded2b3b4e
hwmon: (thmc50) 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/thmc50.c