diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-24 21:27:36 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 00:02:51 +0100 |
commit | b51804bcf0774a8bc6af1e8bb6ae818f4b71173a (patch) | |
tree | a9efc29885c87f8674f886b9420af6c6e6e94455 /drivers/gpio/vr41xx_giu.c | |
parent | 778b548ced16b4bdca7ee2b694796f22ac24437f (diff) | |
download | linux-b51804bcf0774a8bc6af1e8bb6ae818f4b71173a.tar.gz linux-b51804bcf0774a8bc6af1e8bb6ae818f4b71173a.tar.bz2 linux-b51804bcf0774a8bc6af1e8bb6ae818f4b71173a.zip |
gpio: Cleanup genirq namespace
Converted with coccinelle.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
LKML-Reference: <20110324212509.025730689@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/gpio/vr41xx_giu.c')
-rw-r--r-- | drivers/gpio/vr41xx_giu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpio/vr41xx_giu.c b/drivers/gpio/vr41xx_giu.c index cffa3bd7ad3b..a365be040b36 100644 --- a/drivers/gpio/vr41xx_giu.c +++ b/drivers/gpio/vr41xx_giu.c @@ -238,13 +238,13 @@ void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger, break; } } - set_irq_chip_and_handler(GIU_IRQ(pin), + irq_set_chip_and_handler(GIU_IRQ(pin), &giuint_low_irq_chip, handle_edge_irq); } else { giu_clear(GIUINTTYPL, mask); giu_clear(GIUINTHTSELL, mask); - set_irq_chip_and_handler(GIU_IRQ(pin), + irq_set_chip_and_handler(GIU_IRQ(pin), &giuint_low_irq_chip, handle_level_irq); } @@ -273,13 +273,13 @@ void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger, break; } } - set_irq_chip_and_handler(GIU_IRQ(pin), + irq_set_chip_and_handler(GIU_IRQ(pin), &giuint_high_irq_chip, handle_edge_irq); } else { giu_clear(GIUINTTYPH, mask); giu_clear(GIUINTHTSELH, mask); - set_irq_chip_and_handler(GIU_IRQ(pin), + irq_set_chip_and_handler(GIU_IRQ(pin), &giuint_high_irq_chip, handle_level_irq); } @@ -539,9 +539,9 @@ static int __devinit giu_probe(struct platform_device *pdev) chip = &giuint_high_irq_chip; if (trigger & (1 << pin)) - set_irq_chip_and_handler(i, chip, handle_edge_irq); + irq_set_chip_and_handler(i, chip, handle_edge_irq); else - set_irq_chip_and_handler(i, chip, handle_level_irq); + irq_set_chip_and_handler(i, chip, handle_level_irq); } |