]> 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)
commitd9072a1e9312dc0c93a05d84349c2265a458ad11
tree20ed86be9dcbca5e03dc02337a32bebc99f8d68a
parent9a5c7392b1d7372798ae7f81c117e1fb19f3bf53
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