hwmon: (smsc47b397) Convert to use devm_ functions
authorGuenter Roeck <linux@roeck-us.net>
Sat, 2 Jun 2012 19:04:06 +0000 (12:04 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 22 Jul 2012 04:48:43 +0000 (21:48 -0700)
commite43d5fefa7fe4e5d0999033753c15e1f30e06ff6
treeb896d1667c980b3aca4fb549b092f5c119736bcf
parenta0d44cbcc0b92d1dbec5dda3a5b7ea929c05d522
hwmon: (smsc47b397) Convert to use devm_ functions

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

Cc: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/smsc47b397.c