]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64492b4910e64c6a2f882426f3c6be6104967d6a
tree9004ca0ee9ea2cf5058fc6d8cd8737b11ffc57e2
parent9469921b00f7c8e06b49625640670f052e31e802
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