summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/t7l66xb.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-25 12:12:35 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-27 00:09:52 +0100
commitd6f7ce9f7fde069424e6400c31717ef34aab7e5f (patch)
tree22afbe82d756093ffa147ecd40b88f146c93dce3 /drivers/mfd/t7l66xb.c
parentmfd: Cleanup irq namespace (diff)
downloadlinux-d6f7ce9f7fde069424e6400c31717ef34aab7e5f.tar.xz
linux-d6f7ce9f7fde069424e6400c31717ef34aab7e5f.zip
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/t7l66xb.c')
-rw-r--r--drivers/mfd/t7l66xb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c
index 2e1fca4715ed..42830e692964 100644
--- a/drivers/mfd/t7l66xb.c
+++ b/drivers/mfd/t7l66xb.c
@@ -243,9 +243,8 @@ static void t7l66xb_attach_irq(struct platform_device *dev)
irq_base = t7l66xb->irq_base;
for (irq = irq_base; irq < irq_base + T7L66XB_NR_IRQS; irq++) {
- irq_set_chip(irq, &t7l66xb_chip);
+ irq_set_chip_and_handler(irq, &t7l66xb_chip, handle_level_irq);
irq_set_chip_data(irq, t7l66xb);
- irq_set_handler(irq, handle_level_irq);
#ifdef CONFIG_ARM
set_irq_flags(irq, IRQF_VALID | IRQF_PROBE);
#endif