powerpc: Replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Thu, 12 Mar 2020 06:42:55 +0000 (12:12 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 25 Mar 2020 01:07:57 +0000 (12:07 +1100)
commitb4f00d5b2098320a0d4c4a6d31099bc0c9a85b02
tree9bc3cf4525184149b10e2803d3a726a85e03ee7d
parentaddf3727ad28bd159ae2da433b48daf2ffb339f7
powerpc: 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: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200312064256.18735-1-afzal.mohd.ma@gmail.com
arch/powerpc/platforms/85xx/mpc85xx_cds.c
arch/powerpc/platforms/8xx/cpm1.c
arch/powerpc/platforms/8xx/m8xx_setup.c
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/powermac/pic.c
arch/powerpc/platforms/powermac/smp.c