hwmon: (gpio-fan) Convert to use devm_ functions
authorGuenter Roeck <linux@roeck-us.net>
Sat, 2 Jun 2012 16:58:07 +0000 (09:58 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 Jul 2012 04:48:41 +0000 (21:48 -0700)
commitd00985f3dd5339eb3068e53f5704ae007ee62f90
treee79d6d48e09bf3dad32e091eff6c49161c224817
parent60c2b5697560b0216ddbebaabebd1aac7abe3012
hwmon: (gpio-fan) Convert to use devm_ functions

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

Cc: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Simon Guinot <sguinot@lacie.com>
drivers/hwmon/gpio-fan.c