diff options
author | Thierry Reding <treding@nvidia.com> | 2017-11-07 19:15:54 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-11-08 14:12:01 +0100 |
commit | e0d89728981393b7d694bd3419b7794b9882c92d (patch) | |
tree | 4e8a009a3d71898f3ba4db28b32425cac190b883 /drivers/gpio/gpiolib-devprop.c | |
parent | ca9df053fb2bb2fcc64f37a1668321c7e19edd04 (diff) |
gpio: Implement tighter IRQ chip integration
Currently GPIO drivers are required to add the GPIO chip and its
corresponding IRQ chip separately, which can result in a lot of
boilerplate. Use the newly introduced struct gpio_irq_chip, embedded in
struct gpio_chip, that drivers can fill in if they want the GPIO core
to automatically register the IRQ chip associated with a GPIO chip.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-devprop.c')
0 files changed, 0 insertions, 0 deletions