ARM: 8966/1: rpc: replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Sun, 8 Mar 2020 14:22:06 +0000 (15:22 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 19 Mar 2020 09:27:42 +0000 (09:27 +0000)
commit575fb69ef919c49283d3fa0d8b13af34011f4abd
treeb385f3e9de6e883081a85b0b1334386a143eadb7
parent5926e7e1668be9f8179dbee34b5dca1f0f6a605b
ARM: 8966/1: rpc: 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: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mach-rpc/time.c