staging/nvec: Use platform_get_irq()
authorThierry Reding <treding@nvidia.com>
Tue, 29 Jul 2014 11:16:15 +0000 (13:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 00:18:47 +0000 (17:18 -0700)
commitb5b628ba4980762b290bb794d44dce629d0126f2
tree20ed86be9dcbca5e03dc02337a32bebc99f8d68a
parent47e7b05001d8634704b1563ba93863194ac129f0
staging/nvec: Use platform_get_irq()

As opposed to platform_get_resource(), the platform_get_irq() function
has special code to handle driver probe deferral when booting using DT
and where an interrupt provider hasn't been registered yet. While this
is unlikely to become an issue for nvec, platform_get_irq() is the
recommended way to get at interrupts.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec.c