hwmon: (lm95241) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Mon, 20 Jan 2014 17:25:50 +0000 (09:25 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 3 Mar 2014 16:01:03 +0000 (08:01 -0800)
commitf809621e8c36c15e9caf248dabe441ac25507e62
tree24350710b5015de412ada1bfe75c9de12ea2f687
parent0414855fdc4a40da05221fc6062cccbc0c30f169
hwmon: (lm95241) Convert to use devm_hwmon_device_register_with_groups

Simplify code, reduce code size, and attach hwmon attributes
to hwmon device.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm95241.c