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/tc3589x-gpio.c | |
parent | 778b548ced16b4bdca7ee2b694796f22ac24437f (diff) | |
download | kernel_samsung_smdk4412-b51804bcf0774a8bc6af1e8bb6ae818f4b71173a.zip kernel_samsung_smdk4412-b51804bcf0774a8bc6af1e8bb6ae818f4b71173a.tar.gz kernel_samsung_smdk4412-b51804bcf0774a8bc6af1e8bb6ae818f4b71173a.tar.bz2 |
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/tc3589x-gpio.c')
-rw-r--r-- | drivers/gpio/tc3589x-gpio.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpio/tc3589x-gpio.c b/drivers/gpio/tc3589x-gpio.c index 27200af..2a82e89 100644 --- a/drivers/gpio/tc3589x-gpio.c +++ b/drivers/gpio/tc3589x-gpio.c @@ -239,14 +239,14 @@ static int tc3589x_gpio_irq_init(struct tc3589x_gpio *tc3589x_gpio) int irq; for (irq = base; irq < base + tc3589x_gpio->chip.ngpio; irq++) { - set_irq_chip_data(irq, tc3589x_gpio); - set_irq_chip_and_handler(irq, &tc3589x_gpio_irq_chip, + irq_set_chip_data(irq, tc3589x_gpio); + irq_set_chip_and_handler(irq, &tc3589x_gpio_irq_chip, handle_simple_irq); - set_irq_nested_thread(irq, 1); + irq_set_nested_thread(irq, 1); #ifdef CONFIG_ARM set_irq_flags(irq, IRQF_VALID); #else - set_irq_noprobe(irq); + irq_set_noprobe(irq); #endif } @@ -262,8 +262,8 @@ static void tc3589x_gpio_irq_remove(struct tc3589x_gpio *tc3589x_gpio) #ifdef CONFIG_ARM set_irq_flags(irq, 0); #endif - set_irq_chip_and_handler(irq, NULL, NULL); - set_irq_chip_data(irq, NULL); + irq_set_chip_and_handler(irq, NULL, NULL); + irq_set_chip_data(irq, NULL); } } |