gpio: gpio-reg: add irq mapping for gpio-reg users
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 2 Sep 2016 11:05:56 +0000 (12:05 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 24 Mar 2017 13:05:00 +0000 (14:05 +0100)
commit0e3cb6ee386f384a9131f0c7db52a0a961d2ded9
tree9175981374fba497661844a7c83d543fc91f4358
parent380639c7cc786ec663e43eb3896ccf9172a46900
gpio: gpio-reg: add irq mapping for gpio-reg users

Add support for mapping gpio-reg gpios to interrupts.  This may be a
non-linear mapping - some gpios in the register may not even have
corresponding interrupts associated with them, so we need to pass an
array.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-reg.c
include/linux/gpio/gpio-reg.h