mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*
IRQT_* and __IRQT_* were obsoleted long ago by patch [3692/1]. Remove them completely. Sed script for the reference: s/__IRQT_RISEDGE/IRQ_TYPE_EDGE_RISING/g s/__IRQT_FALEDGE/IRQ_TYPE_EDGE_FALLING/g s/__IRQT_LOWLVL/IRQ_TYPE_LEVEL_LOW/g s/__IRQT_HIGHLVL/IRQ_TYPE_LEVEL_HIGH/g s/IRQT_RISING/IRQ_TYPE_EDGE_RISING/g s/IRQT_FALLING/IRQ_TYPE_EDGE_FALLING/g s/IRQT_BOTHEDGE/IRQ_TYPE_EDGE_BOTH/g s/IRQT_LOW/IRQ_TYPE_LEVEL_LOW/g s/IRQT_HIGH/IRQ_TYPE_LEVEL_HIGH/g s/IRQT_PROBE/IRQ_TYPE_PROBE/g s/IRQT_NOEDGE/IRQ_TYPE_NONE/g Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
d9ecdb282c
commit
6cab486029
61 changed files with 227 additions and 250 deletions
|
|
@ -195,7 +195,7 @@ static void ts_interrupt_main(struct corgi_ts *corgi_ts, int isTimer)
|
|||
{
|
||||
if ((GPLR(IRQ_TO_GPIO(corgi_ts->irq_gpio)) & GPIO_bit(IRQ_TO_GPIO(corgi_ts->irq_gpio))) == 0) {
|
||||
/* Disable Interrupt */
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQT_NOEDGE);
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQ_TYPE_NONE);
|
||||
if (read_xydata(corgi_ts)) {
|
||||
corgi_ts->pendown = 1;
|
||||
new_data(corgi_ts);
|
||||
|
|
@ -214,7 +214,7 @@ static void ts_interrupt_main(struct corgi_ts *corgi_ts, int isTimer)
|
|||
}
|
||||
|
||||
/* Enable Falling Edge */
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQT_FALLING);
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQ_TYPE_EDGE_FALLING);
|
||||
corgi_ts->pendown = 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -258,7 +258,7 @@ static int corgits_resume(struct platform_device *dev)
|
|||
|
||||
corgi_ssp_ads7846_putget((4u << ADSCTRL_ADR_SH) | ADSCTRL_STS);
|
||||
/* Enable Falling Edge */
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQT_FALLING);
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQ_TYPE_EDGE_FALLING);
|
||||
corgi_ts->power_mode = PWR_MODE_ACTIVE;
|
||||
|
||||
return 0;
|
||||
|
|
@ -333,7 +333,7 @@ static int __init corgits_probe(struct platform_device *pdev)
|
|||
corgi_ts->power_mode = PWR_MODE_ACTIVE;
|
||||
|
||||
/* Enable Falling Edge */
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQT_FALLING);
|
||||
set_irq_type(corgi_ts->irq_gpio, IRQ_TYPE_EDGE_FALLING);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ static int wm97xx_acc_startup(struct wm97xx *wm)
|
|||
switch (wm->id) {
|
||||
case WM9705_ID2:
|
||||
wm->pen_irq = IRQ_GPIO(4);
|
||||
set_irq_type(IRQ_GPIO(4), IRQT_BOTHEDGE);
|
||||
set_irq_type(IRQ_GPIO(4), IRQ_TYPE_EDGE_BOTH);
|
||||
break;
|
||||
case WM9712_ID2:
|
||||
case WM9713_ID2:
|
||||
|
|
|
|||
Loading…
Reference in a new issue