hwmon: (i5500_temp) Convert to devm_hwmon_device_register_with_groups
authorJean Delvare <jdelvare@suse.de>
Sat, 24 Jan 2015 13:16:21 +0000 (14:16 +0100)
committerJean Delvare <jdelvare@suse.de>
Sat, 24 Jan 2015 13:16:21 +0000 (14:16 +0100)
commitb8d48ce9519b21021e5875dce1a69f2941b17d1e
tree16291ddb0563640ab957d5c9d308c77e38f3e0b8
parentada072816be1f284cda273f1d980a429b007566a
hwmon: (i5500_temp) Convert to devm_hwmon_device_register_with_groups

Use devm_hwmon_device_register_with_groups() to simplify the code a
bit.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Romain Dolbeau <romain@dolbeau.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/i5500_temp.c