gpio: tegra: Use platform_irq_count()
authorThierry Reding <treding@nvidia.com>
Thu, 20 Jul 2017 16:00:56 +0000 (18:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:13 +0000 (15:01 +0200)
commit564209037dfe09b91a9110e80bd4bcdbccfcceed
tree98a4243442421fadaebd1c494c7bebfd9d7e91e3
parent7eb6ce2f272336ff8337f40fa8668fa04dc2d684
gpio: tegra: Use platform_irq_count()

Use platform_irq_count() instead of open-coding the same code sequence.

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