summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2416/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s3c2416/irq.c')
-rw-r--r--arch/arm/mach-s3c2416/irq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-s3c2416/irq.c b/arch/arm/mach-s3c2416/irq.c
index de21c841b56d..77b38f2381c1 100644
--- a/arch/arm/mach-s3c2416/irq.c
+++ b/arch/arm/mach-s3c2416/irq.c
@@ -202,13 +202,11 @@ static int __init s3c2416_add_sub(unsigned int base,
{
unsigned int irqno;
- irq_set_chip(base, &s3c_irq_level_chip);
- irq_set_handler(base, handle_level_irq);
+ irq_set_chip_and_handler(base, &s3c_irq_level_chip, handle_level_irq);
irq_set_chained_handler(base, demux);
for (irqno = start; irqno <= end; irqno++) {
- irq_set_chip(irqno, chip);
- irq_set_handler(irqno, handle_level_irq);
+ irq_set_chip_and_handler(irqno, chip, handle_level_irq);
set_irq_flags(irqno, IRQF_VALID);
}