diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 11:12:35 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-27 00:09:52 +0100 |
commit | d6f7ce9f7fde069424e6400c31717ef34aab7e5f (patch) | |
tree | 22afbe82d756093ffa147ecd40b88f146c93dce3 /drivers/mfd/asic3.c | |
parent | d5bb122165981aed327845c32a9916d1b8ae0e4b (diff) | |
download | kernel_samsung_tuna-d6f7ce9f7fde069424e6400c31717ef34aab7e5f.zip kernel_samsung_tuna-d6f7ce9f7fde069424e6400c31717ef34aab7e5f.tar.gz kernel_samsung_tuna-d6f7ce9f7fde069424e6400c31717ef34aab7e5f.tar.bz2 |
mfd: Fold irq_set_chip/irq_set_handler
Use the combined irq_set_chip_and_handler() function
instead. Converted with coccinelle.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/asic3.c')
-rw-r--r-- | drivers/mfd/asic3.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 22b5a78..d4a851c 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c @@ -416,8 +416,7 @@ static void asic3_irq_remove(struct platform_device *pdev) for (irq = irq_base; irq < irq_base + ASIC3_NR_IRQS; irq++) { set_irq_flags(irq, 0); - irq_set_handler(irq, NULL); - irq_set_chip(irq, NULL); + irq_set_chip_and_handler(irq, NULL, NULL); irq_set_chip_data(irq, NULL); } irq_set_chained_handler(asic->irq_nr, NULL); |