]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d9cbdb596f7eea8e76a4d4b876dbe6c5af9148d
tree20ed86be9dcbca5e03dc02337a32bebc99f8d68a
parent1ccacef5f65e5dbee17ec17209cb9979062d376b
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