wmi-acer - Fix error test for ACPI bus register
commitf681fc0521a73029577d14c6a4dc21d9710d20fd
authorCarlos Corbacho <carlos@strangeworlds.co.uk>
Tue, 25 Dec 2007 23:08:15 +0000 (25 23:08 +0000)
committerCarlos Corbacho <carlos@strangeworlds.co.uk>
Tue, 25 Dec 2007 23:08:15 +0000 (25 23:08 +0000)
tree2ee563907e7b0d5f015ebc6b36f31e157e50abfd
parent3c408fc9938e1c8bd6ae5ed6b7e76c181b7093b0
wmi-acer - Fix error test for ACPI bus register

The WMI code would not detect a failure during acpi_wmi_add() properly, so
did not bail out and continued to try to load the driver, resulting in
strange failures when looking for GUIDs.

Fix the test so the driver will exit properly instead.
wmi-acer.c