ACPI: replace AE_BAD_ADDRESS exception code with AE_ERROR
authorLin Ming <ming.m.lin@intel.com>
Fri, 8 Aug 2008 03:57:11 +0000 (11:57 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 22 Oct 2008 21:56:40 +0000 (17:56 -0400)
commit08237974af22a97da59869979ef1a515524d5cc3
tree1d0ac70ff4fa3bcb6852020fe24c554ae79e2cf5
parent36eec5e29cf31011a7fbe121badfed7efb2a4ebb
ACPI: replace AE_BAD_ADDRESS exception code with AE_ERROR

The AE_BAD_ADDRESS exception code is now unused in ACPICA.
For linux, it's only used at wmi.c and acer-wmi.c.
I checked both wmi.c and acer-wmi.c, the AE_BAD_ADDRESS exception code
has no special meaning. The parent functions just call AE_SUCCESS() or
AE_FAILURE() to check the return status.
So it's safe to replace AE_BAD_ADDRESS with AE_ERROR.

Signed-off-by Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/wmi.c
drivers/misc/acer-wmi.c