ARM: 8964/1: ebsa110: replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Sun, 8 Mar 2020 14:20:49 +0000 (15:20 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 19 Mar 2020 09:27:39 +0000 (09:27 +0000)
commitc51dc14ee68a09668f7f489f62decfcde5865de4
tree4dcd2f09123edb2cac20ec66e270d2213b92cb68
parent91274f962e942c23c97ba7e4c7fa04277c533a45
ARM: 8964/1: ebsa110: 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-ebsa110/core.c