Input: remove IRQF_DISABLED from drivers
authorYong Zhang <yong.zhang0@gmail.com>
Wed, 7 Sep 2011 21:04:16 +0000 (14:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 7 Sep 2011 21:19:11 +0000 (14:19 -0700)
This flag is a NOOP and can be removed now.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
19 files changed:
drivers/input/keyboard/adp5588-keys.c
drivers/input/keyboard/davinci_keyscan.c
drivers/input/keyboard/ep93xx_keypad.c
drivers/input/keyboard/imx_keypad.c
drivers/input/keyboard/jornada720_kbd.c
drivers/input/keyboard/matrix_keypad.c
drivers/input/keyboard/pxa27x_keypad.c
drivers/input/keyboard/pxa930_rotary.c
drivers/input/keyboard/w90p910_keypad.c
drivers/input/misc/ixp4xx-beeper.c
drivers/input/mouse/pxa930_trkball.c
drivers/input/mouse/synaptics_i2c.c
drivers/input/touchscreen/atmel_tsadcc.c
drivers/input/touchscreen/h3600_ts_input.c
drivers/input/touchscreen/hp680_ts_input.c
drivers/input/touchscreen/jornada720_ts.c
drivers/input/touchscreen/lpc32xx_ts.c
drivers/input/touchscreen/s3c2410_ts.c
drivers/input/touchscreen/w90p910_ts.c

index 7b404e5443ed15fa4bc2ba98eebd390e3b3f700b..b570ed30e8a108475a5a971751f7d858c40944a6 100644 (file)
@@ -550,7 +550,7 @@ static int __devinit adp5588_probe(struct i2c_client *client,
        }
 
        error = request_irq(client->irq, adp5588_irq,
-                           IRQF_TRIGGER_FALLING | IRQF_DISABLED,
+                           IRQF_TRIGGER_FALLING,
                            client->dev.driver->name, kpad);
        if (error) {
                dev_err(&client->dev, "irq %d busy?\n", client->irq);
index cd89d17162a33121ed1ebcd13fddb4a06c1d4c4e..9d82b3aeff5e5535b5f85d4a084a410523359564 100644 (file)
@@ -271,7 +271,7 @@ static int __init davinci_ks_probe(struct platform_device *pdev)
        }
 
        error = request_irq(davinci_ks->irq, davinci_ks_interrupt,
-                         IRQF_DISABLED, pdev->name, davinci_ks);
+                         0, pdev->name, davinci_ks);
        if (error < 0) {
                dev_err(dev, "unable to register davinci key scan interrupt\n");
                goto fail5;
index aa17e024d80329acffd48223b554d5f2528f513a..4662c5da801890f63179203029bc9acc241f8314 100644 (file)
@@ -323,7 +323,7 @@ static int __devinit ep93xx_keypad_probe(struct platform_device *pdev)
        platform_set_drvdata(pdev, keypad);
 
        err = request_irq(keypad->irq, ep93xx_keypad_irq_handler,
-                         IRQF_DISABLED, pdev->name, keypad);
+                         0, pdev->name, keypad);
        if (err)
                goto failed_free_dev;
 
index d92c15c39e683cd58eb5dc354c26f5a56559a6dd..4b093faf57867a502065fc1e8687875d69da9b74 100644 (file)
@@ -510,7 +510,7 @@ static int __devinit imx_keypad_probe(struct platform_device *pdev)
        /* Ensure that the keypad will stay dormant until opened */
        imx_keypad_inhibit(keypad);
 
-       error = request_irq(irq, imx_keypad_irq_handler, IRQF_DISABLED,
+       error = request_irq(irq, imx_keypad_irq_handler, 0,
                            pdev->name, keypad);
        if (error) {
                dev_err(&pdev->dev, "failed to request IRQ\n");
index 2cd3e1d56ea4340a450b23974b58b4d7899871f0..0aa6740e60d00b6ba43b41929011f1b8138e4056 100644 (file)
@@ -129,7 +129,7 @@ static int __devinit jornada720_kbd_probe(struct platform_device *pdev)
 
        err = request_irq(IRQ_GPIO0,
                          jornada720_kbd_interrupt,
-                         IRQF_DISABLED | IRQF_TRIGGER_FALLING,
+                         IRQF_TRIGGER_FALLING,
                          "jornadakbd", pdev);
        if (err) {
                printk(KERN_INFO "jornadakbd720_kbd: Unable to grab IRQ\n");
index b02e4268e18fd743b1cb0639399655bb5236a362..e2ae657717ea634d7bc799a46f6dbcc0f0fb6371 100644 (file)
@@ -343,7 +343,6 @@ static int __devinit init_matrix_gpio(struct platform_device *pdev,
                for (i = 0; i < pdata->num_row_gpios; i++) {
                        err = request_irq(gpio_to_irq(pdata->row_gpios[i]),
                                        matrix_keypad_interrupt,
-                                       IRQF_DISABLED |
                                        IRQF_TRIGGER_RISING |
                                        IRQF_TRIGGER_FALLING,
                                        "matrix-keypad", keypad);
index 4b0ec35259a17f70357df965ae4f9b698bf4e01a..eca6ae63de146d8171ac384625c59abea9d8a9af 100644 (file)
@@ -535,7 +535,7 @@ static int __devinit pxa27x_keypad_probe(struct platform_device *pdev)
                input_dev->evbit[0] |= BIT_MASK(EV_REL);
        }
 
-       error = request_irq(irq, pxa27x_keypad_irq_handler, IRQF_DISABLED,
+       error = request_irq(irq, pxa27x_keypad_irq_handler, 0,
                            pdev->name, keypad);
        if (error) {
                dev_err(&pdev->dev, "failed to request IRQ\n");
index b7123a44b6ece5389989f07a7d9c1d1147a3e2d2..35451bf780c74483e915b87342ef1b7c88fd28dd 100644 (file)
@@ -148,7 +148,7 @@ static int __devinit pxa930_rotary_probe(struct platform_device *pdev)
        r->input_dev = input_dev;
        input_set_drvdata(input_dev, r);
 
-       err = request_irq(irq, rotary_irq, IRQF_DISABLED,
+       err = request_irq(irq, rotary_irq, 0,
                        "enhanced rotary", r);
        if (err) {
                dev_err(&pdev->dev, "failed to request IRQ\n");
index ee2bf6bcf2912becd87c02023cd4477395fbb63d..318586dadacfb2582ea3317e25b62db7146e5ad7 100644 (file)
@@ -203,7 +203,7 @@ static int __devinit w90p910_keypad_probe(struct platform_device *pdev)
                                   input_dev->keycode, input_dev->keybit);
 
        error = request_irq(keypad->irq, w90p910_keypad_irq_handler,
-                           IRQF_DISABLED, pdev->name, keypad);
+                           0, pdev->name, keypad);
        if (error) {
                dev_err(&pdev->dev, "failed to request IRQ\n");
                goto failed_put_clk;
index 1f38302a5951515a767e96d5c29f01af5922768e..302ab46ce75201bbf0025a6730155fc414ce4fa6 100644 (file)
@@ -111,7 +111,7 @@ static int __devinit ixp4xx_spkr_probe(struct platform_device *dev)
        input_dev->event = ixp4xx_spkr_event;
 
        err = request_irq(IRQ_IXP4XX_TIMER2, &ixp4xx_spkr_interrupt,
-                         IRQF_DISABLED | IRQF_NO_SUSPEND, "ixp4xx-beeper",
+                         IRQF_NO_SUSPEND, "ixp4xx-beeper",
                          (void *) dev->id);
        if (err)
                goto err_free_device;
index 6c5d84fcdea1a666126eedec63e6e739db1ed29a..ee3b0ca9d592b05286ff44dd2b90fadb8b07b193 100644 (file)
@@ -183,7 +183,7 @@ static int __devinit pxa930_trkball_probe(struct platform_device *pdev)
        /* held the module in reset, will be enabled in open() */
        pxa930_trkball_disable(trkball);
 
-       error = request_irq(irq, pxa930_trkball_interrupt, IRQF_DISABLED,
+       error = request_irq(irq, pxa930_trkball_interrupt, 0,
                            pdev->name, trkball);
        if (error) {
                dev_err(&pdev->dev, "failed to request irq: %d\n", error);
index cba3c84d2f21a30e54aaba064d6d727a02bb8148..e28e9ce0f7eb7aaad3923bed0d6eb0354632bb27 100644 (file)
@@ -570,7 +570,7 @@ static int __devinit synaptics_i2c_probe(struct i2c_client *client,
                         "Requesting IRQ: %d\n", touch->client->irq);
 
                ret = request_irq(touch->client->irq, synaptics_i2c_irq,
-                                 IRQF_DISABLED|IRQ_TYPE_EDGE_FALLING,
+                                 IRQ_TYPE_EDGE_FALLING,
                                  DRIVER_NAME, touch);
                if (ret) {
                        dev_warn(&touch->client->dev,
index 432c69be6ac61561a383b026eac149588daca99f..122a878836598b94320aa2262522a056a86c3620 100644 (file)
@@ -229,7 +229,7 @@ static int __devinit atmel_tsadcc_probe(struct platform_device *pdev)
                goto err_release_mem;
        }
 
-       err = request_irq(ts_dev->irq, atmel_tsadcc_interrupt, IRQF_DISABLED,
+       err = request_irq(ts_dev->irq, atmel_tsadcc_interrupt, 0,
                        pdev->dev.driver->name, ts_dev);
        if (err) {
                dev_err(&pdev->dev, "failed to allocate irq.\n");
index 211811ae552538b529b32ce470991b266454a9c7..6107e563e68141545f356bbdd724ebbd70ebcd7e 100644 (file)
@@ -396,14 +396,14 @@ static int h3600ts_connect(struct serio *serio, struct serio_driver *drv)
        set_GPIO_IRQ_edge(GPIO_BITSY_NPOWER_BUTTON, GPIO_RISING_EDGE);
 
        if (request_irq(IRQ_GPIO_BITSY_ACTION_BUTTON, action_button_handler,
-                       IRQF_SHARED | IRQF_DISABLED, "h3600_action", ts->dev)) {
+                       IRQF_SHARED, "h3600_action", ts->dev)) {
                printk(KERN_ERR "h3600ts.c: Could not allocate Action Button IRQ!\n");
                err = -EBUSY;
                goto fail1;
        }
 
        if (request_irq(IRQ_GPIO_BITSY_NPOWER_BUTTON, npower_button_handler,
-                       IRQF_SHARED | IRQF_DISABLED, "h3600_suspend", ts->dev)) {
+                       IRQF_SHARED, "h3600_suspend", ts->dev)) {
                printk(KERN_ERR "h3600ts.c: Could not allocate Power Button IRQ!\n");
                err = -EBUSY;
                goto fail2;
index dd4e8f020b9947b69071e25c30c58adb5276217e..639a6044183db76e2b748dbd74126b3ce1627899 100644 (file)
@@ -93,7 +93,7 @@ static int __init hp680_ts_init(void)
        hp680_ts_dev->phys = "hp680_ts/input0";
 
        if (request_irq(HP680_TS_IRQ, hp680_ts_interrupt,
-                       IRQF_DISABLED, MODNAME, 0) < 0) {
+                       0, MODNAME, 0) < 0) {
                printk(KERN_ERR "hp680_touchscreen.c: Can't allocate irq %d\n",
                       HP680_TS_IRQ);
                err = -EBUSY;
index 4b0a061811ffabea4e17630b6b9b01fa31934466..50076c2d59e23467e2be9bd1da2f00b7d59db2b5 100644 (file)
@@ -127,7 +127,7 @@ static int __devinit jornada720_ts_probe(struct platform_device *pdev)
 
        error = request_irq(IRQ_GPIO9,
                        jornada720_ts_interrupt,
-                       IRQF_DISABLED | IRQF_TRIGGER_RISING,
+                       IRQF_TRIGGER_RISING,
                        "HP7XX Touchscreen driver", pdev);
        if (error) {
                printk(KERN_INFO "HP7XX TS : Unable to acquire irq!\n");
index dcf803f5a1f74867656f30f7d8a474efdf706f10..0a484ed5295c282f03dda9cf3f3e1810fb440537 100644 (file)
@@ -276,7 +276,7 @@ static int __devinit lpc32xx_ts_probe(struct platform_device *pdev)
        input_set_drvdata(input, tsc);
 
        error = request_irq(tsc->irq, lpc32xx_ts_interrupt,
-                           IRQF_DISABLED, pdev->name, tsc);
+                           0, pdev->name, tsc);
        if (error) {
                dev_err(&pdev->dev, "failed requesting interrupt\n");
                goto err_put_clock;
index 8feb7f3c8be17d19f40108d9ad3eddf4450ad309..64ce697a34562b0f129b8859e8d95c7f7d96fd8b 100644 (file)
@@ -328,7 +328,7 @@ static int __devinit s3c2410ts_probe(struct platform_device *pdev)
        ts.shift = info->oversampling_shift;
        ts.features = platform_get_device_id(pdev)->driver_data;
 
-       ret = request_irq(ts.irq_tc, stylus_irq, IRQF_DISABLED,
+       ret = request_irq(ts.irq_tc, stylus_irq, 0,
                          "s3c2410_ts_pen", ts.input);
        if (ret) {
                dev_err(dev, "cannot get TC interrupt\n");
index 7a45d68c35166d62d2e2404d3f65644b32cea42c..217aa51135c59bda6a9e50498749030c3a593303 100644 (file)
@@ -279,7 +279,7 @@ static int __devinit w90x900ts_probe(struct platform_device *pdev)
 
        w90p910_ts->irq_num = platform_get_irq(pdev, 0);
        if (request_irq(w90p910_ts->irq_num, w90p910_ts_interrupt,
-                       IRQF_DISABLED, "w90p910ts", w90p910_ts)) {
+                       0, "w90p910ts", w90p910_ts)) {
                err = -EBUSY;
                goto fail4;
        }