microblaze: support gpio_to_irq()
authorMichal Simek <monstr@monstr.eu>
Tue, 17 Aug 2010 09:49:24 +0000 (11:49 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 Oct 2010 05:51:41 +0000 (15:51 +1000)
gpiolib returns -ENXIO if struct gpio_chip::to_irq isn't set, so it's
safe to always call.

Based on PPC patch
"powerpc/gpio: support gpio_to_irq()"
78331aded913d76c7ff996a1a0747d54b057460b

Signed-off-by: Michal Simek <monstr@monstr.eu>

No differences found