summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-aspeed-i2c-ic.c
diff options
context:
space:
mode:
authorafzal mohammed <afzal.mohd.ma@gmail.com>2020-03-04 06:18:38 +0530
committerMarc Zyngier <maz@kernel.org>2020-03-08 14:25:46 +0000
commit2ef1cb763d92f3e212005fcf5dcc713eaf42b257 (patch)
tree398a24a3ebdc14feced964b1180c66497249857f /drivers/irqchip/irq-aspeed-i2c-ic.c
parentbc714c8bd4b7f1f29f9b15d79211c5fb3aa63c4d (diff)
irqchip: 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: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200304004839.4729-1-afzal.mohd.ma@gmail.com
Diffstat (limited to 'drivers/irqchip/irq-aspeed-i2c-ic.c')
0 files changed, 0 insertions, 0 deletions