Skip to content
Commit 78331ade authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Kumar Gala
Browse files

powerpc/gpio: support gpio_to_irq()



gpiolib returns -ENXIO if struct gpio_chip::to_irq isn't set, so it's
safe to always call.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 1cad2c87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment