hwmon: (thmc50) Convert to use devm_ functions
authorGuenter Roeck <linux@roeck-us.net>
Sat, 2 Jun 2012 18:20:23 +0000 (11:20 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 Jul 2012 04:48:42 +0000 (21:48 -0700)
commitbd91d3bab8787f53c1b937ac817b0c59f8146b97
treec96cc2c7f6bf8d37fcd2884f89f9840b5535e1b3
parent5d224ade31f0a08c0a0eef9e74a6187c0b8747b4
hwmon: (thmc50) Convert to use devm_ functions

Convert to use devm_ functions to reduce code size and simplify the code.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/thmc50.c