gpio: tegra: Use platform_get_irq()
authorThierry Reding <treding@nvidia.com>
Thu, 20 Jul 2017 16:00:57 +0000 (18:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:13 +0000 (15:01 +0200)
commit9c07409c34ddf1804721cee21ca835733e165bde
tree9004ca0ee9ea2cf5058fc6d8cd8737b11ffc57e2
parent564209037dfe09b91a9110e80bd4bcdbccfcceed
gpio: tegra: Use platform_get_irq()

Instead of using platform_get_resource() and getting the interrupts from
the resource, use platform_get_irq() which is slightly easier to use and
covers some special cases that the former doesn't.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c