hwmon: (lm90) Use devm_add_action for cleanup
authorGuenter Roeck <linux@roeck-us.net>
Mon, 13 Jun 2016 13:19:11 +0000 (06:19 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 9 Jul 2016 15:35:39 +0000 (08:35 -0700)
commit1f17a444b42bd7522016417a871f0485abeffda4
tree72a21aaee7173b33ba65293e5187282688b4fcfa
parente65365fed87f5385c04124b6e7ab8967ca600b26
hwmon: (lm90) Use devm_add_action for cleanup

Use devm_add_action where possible to simplify error handling and
cleanup on remove.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c