drivers: Final irq namespace conversion
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@@ -809,7 +809,7 @@ static int lm8323_suspend(struct device *dev)
|
||||
struct lm8323_chip *lm = i2c_get_clientdata(client);
|
||||
int i;
|
||||
|
||||
set_irq_wake(client->irq, 0);
|
||||
irq_set_irq_wake(client->irq, 0);
|
||||
disable_irq(client->irq);
|
||||
|
||||
mutex_lock(&lm->lock);
|
||||
@@ -838,7 +838,7 @@ static int lm8323_resume(struct device *dev)
|
||||
led_classdev_resume(&lm->pwm[i].cdev);
|
||||
|
||||
enable_irq(client->irq);
|
||||
set_irq_wake(client->irq, 1);
|
||||
irq_set_irq_wake(client->irq, 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ static int __init ams_delta_serio_init(void)
|
||||
* at FIQ level, switch back from edge to simple interrupt handler
|
||||
* to avoid bad interaction.
|
||||
*/
|
||||
set_irq_handler(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK),
|
||||
irq_set_handler(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK),
|
||||
handle_simple_irq);
|
||||
|
||||
serio_register_port(ams_delta_serio);
|
||||
|
||||
@@ -219,7 +219,7 @@ static int wm97xx_acc_startup(struct wm97xx *wm)
|
||||
}
|
||||
|
||||
wm->pen_irq = gpio_to_irq(irq);
|
||||
set_irq_type(wm->pen_irq, IRQ_TYPE_EDGE_BOTH);
|
||||
irq_set_irq_type(wm->pen_irq, IRQ_TYPE_EDGE_BOTH);
|
||||
} else /* pen irq not supported */
|
||||
pen_int = 0;
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ static int zylonite_wm97xx_probe(struct platform_device *pdev)
|
||||
gpio_touch_irq = mfp_to_gpio(MFP_PIN_GPIO26);
|
||||
|
||||
wm->pen_irq = IRQ_GPIO(gpio_touch_irq);
|
||||
set_irq_type(IRQ_GPIO(gpio_touch_irq), IRQ_TYPE_EDGE_BOTH);
|
||||
irq_set_irq_type(IRQ_GPIO(gpio_touch_irq), IRQ_TYPE_EDGE_BOTH);
|
||||
|
||||
wm97xx_config_gpio(wm, WM97XX_GPIO_13, WM97XX_GPIO_IN,
|
||||
WM97XX_GPIO_POL_HIGH,
|
||||
|
||||
Reference in New Issue
Block a user