hwmon: Fix ACPI resource check error handling
authorHans de Goede <hdegoede@redhat.com>
Tue, 17 Feb 2009 18:59:54 +0000 (19:59 +0100)
committerJean Delvare <khali@linux-fr.org>
Tue, 17 Feb 2009 18:59:54 +0000 (19:59 +0100)
commit18632f84fac770125c0982dfadec6b551e82144e
tree9bcf592080c5f19f22a5ef726f0f4fa866ee381b
parent603eaa1bdd3e0402085e815cc531bb0a32827a9e
hwmon: Fix ACPI resource check error handling

This patch fixes a number of cases where things were not properly
cleaned up when acpi_check_resource_conflict() returned an error,
causing oopses such as the one reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=483208

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/f71882fg.c
drivers/hwmon/vt1211.c
drivers/hwmon/w83627ehf.c