hwmon: (max6639) Convert to use devm_hwmon_device_register_with_groups
authorGuenter Roeck <linux@roeck-us.net>
Mon, 17 Feb 2014 18:34:29 +0000 (10:34 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 3 Mar 2014 16:01:06 +0000 (08:01 -0800)
commit7981c5846aa168a28b024c2461b766f16dd8f585
tree385bb490feb3450c05b90e9433636b3ff8462fe8
parentc1ea0a0431bc63a24bc0a887c94e93c1ecafd668
hwmon: (max6639) Convert to use devm_hwmon_device_register_with_groups

Simplify code, reduce code size, and attach sysfs attricutes to hwmon device.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
drivers/hwmon/max6639.c