ARM: iop32x: replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Fri, 27 Mar 2020 12:44:51 +0000 (18:14 +0530)
committerArnd Bergmann <arnd@arndb.de>
Fri, 27 Mar 2020 13:10:52 +0000 (14:10 +0100)
commitd163dcc2be7fe04059782db35c73ad32c56864e3
tree9ea83778f8081e4fc4c505ccba659f5856849058
parentc43ff6a81402c7c9847e14d1606598982fc6696e
ARM: iop32x: 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

Link: https://lore.kernel.org/r/20200327124451.4298-1-afzal.mohd.ma@gmail.com
Signed-off-by: afzal mohammed <afzal.mohd.ma@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-iop32x/time.c