hwmon: (pcf8591) Convert to use devm_ functions
authorGuenter Roeck <linux@roeck-us.net>
Sat, 2 Jun 2012 18:20:20 +0000 (11:20 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 Jul 2012 04:48:41 +0000 (21:48 -0700)
commit60c2b5697560b0216ddbebaabebd1aac7abe3012
tree49cb840c9b66e6a55a14667052d4c928ba287b71
parent96f316c24c0aea2984c90170966d9a2cb93d1094
hwmon: (pcf8591) 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/pcf8591.c