]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hwmon: (lm90) Unregister hwmon device if interrupt setup fails
authorGuenter Roeck <linux@roeck-us.net>
Thu, 12 Dec 2013 07:05:32 +0000 (08:05 +0100)
committerJean Delvare <khali@endymion.delvare>
Thu, 12 Dec 2013 07:05:32 +0000 (08:05 +0100)
commit3d489ac07ed85c4908d864abb77ab1e6f94e0e4b
tree378baa783a7cba54e125f2b1d5f13b277a7fd25c
parent9538e10086bd1301fe915683b1ba0a1de66d7483
hwmon: (lm90) Unregister hwmon device if interrupt setup fails

Commit 109b1283fb (hwmon: (lm90) Add support to handle IRQ) introduced
interrupt support. Its error handling code fails to unregister the already
registered hwmon device.

Fixes: 109b1283fb532ac773a076748ffccf76a7067cab
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm90.c