Skip to content
Commit 3e640743 authored by John Crispin's avatar John Crispin Committed by Linus Walleij
Browse files

pinctrl: lantiq: Implement gpio_chip.to_irq



Some drivers require a way to translate GPIO pins to their IRQ numbers.

This patch adds the .to_irq() gpiolib callback to the pinctrl-xway
driver, which returns an IRQ mapping for a given GPIO pin.

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarMartin Schiller <mschiller@tdt.de>
[Switched ->dev to ->parent]
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent b4818afe
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