OSDN Git Service

ARM: orion: replace setup_irq() by request_irq()
authorafzal mohammed <afzal.mohd.ma@gmail.com>
Sun, 1 Mar 2020 12:23:30 +0000 (17:53 +0530)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 13 Mar 2020 20:37:15 +0000 (21:37 +0100)
commit37b146e3f2b4bab1009245f45e1cd9a321efcbbe
treec7bfd57b7c348f908f38f0d4e3bb5aa66125af47
parentcf8dcf2725a903d4a2f4655f37972cb8f4cdc516
ARM: orion: 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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/plat-orion/time.c