OSDN Git Service

ARM: OMAP: replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Sun, 1 Mar 2020 12:19:44 +0000 (17:49 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 4 Mar 2020 16:30:30 +0000 (08:30 -0800)
commitb75ca5217743e4d7076cf65e044e88389e44318d
tree0aee0dc4f4b6ecc3ecfb3e0b0bee441017d95bb2
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9
ARM: OMAP: replace setup_irq() by request_irq()

request_irq() is preferred over setup_irq(). Invocations of setup_irq()
occur after memory allocators are ready.

Per tglx[1], setup_irq() existed in olden days when allocators were not
ready by the time early interrupts were initialized.

Hence replace setup_irq() by request_irq().

[1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos

Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/pm.c
arch/arm/mach-omap1/time.c
arch/arm/mach-omap1/timer32k.c
arch/arm/mach-omap2/timer.c