]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit755b6081b50d21d5eb45f4d8a579b899e51a99ac
tree72a21aaee7173b33ba65293e5187282688b4fcfa
parent1fb7fe3a20532b62d5d03ab64a5365b3d9bec59b
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