toshiba_acpi: Fix up return codes
authorSeth Forshee <seth.forshee@canonical.com>
Tue, 20 Sep 2011 21:55:50 +0000 (16:55 -0500)
committerMatthew Garrett <mjg@redhat.com>
Mon, 24 Oct 2011 14:52:36 +0000 (16:52 +0200)
commit32bcd5cba02436336053d9c3b7a8ff86f889ebf4
tree2a51f960618ea2e7360419c8f235b0848552fb1b
parent135740de77641b4180c8a1f19abcfcd5e4351b15
toshiba_acpi: Fix up return codes

Many routines are returning success on failure, and those that are
indicating failure frequently return incorrect error codes. Fix
these up throughout the driver.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/toshiba_acpi.c