gpiolib-acpi: Fix error checks in interrupt requesting
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 4 Feb 2013 09:32:22 +0000 (11:32 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 4 Feb 2013 20:41:47 +0000 (21:41 +0100)
commit1107ca104f0331627f6446bfefa2d4b0e673db18
treec965296f42b8428b8b137f2c2f379f2abadba6ee
parentde0ccf788147440eee2383c74408080f3ff0a43b
gpiolib-acpi: Fix error checks in interrupt requesting

Print error message if requesting an interrupt fails.
Use int instead of unsigned for interrupts in case of error values

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c