powerpc/gpio: support gpio_to_irq()
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 1 Dec 2009 20:48:13 +0000 (21:48 +0100)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 11 Dec 2009 02:08:15 +0000 (20:08 -0600)
gpiolib returns -ENXIO if struct gpio_chip::to_irq isn't set, so it's
safe to always call.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/include/asm/gpio.h

Simple merge