gpio: tegra: Convert to gpio_irq_chip
authorThierry Reding <treding@nvidia.com>
Fri, 27 Nov 2020 14:08:52 +0000 (15:08 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 15 Feb 2021 10:43:27 +0000 (11:43 +0100)
commit66fecef5bde07857d6306f569d71af5bd092c00b
tree6ba37db81d50b4cc21cbdeefc8f1cb2728ead886
parentc988ae37c7225c290939c65544c5c380efd60c90
gpio: tegra: Convert to gpio_irq_chip

Convert the Tegra GPIO driver to use the gpio_irq_chip infrastructure.
This allows a bit of boiler plate to be removed and while at it enables
support for hierarchical domains, which is useful to support PMC wake
events on Tegra210 and earlier.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-tegra.c