diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-09-07 17:04:16 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-09-07 17:19:11 -0400 |
commit | ec4665c46b11f6e444911ba73dddae6044dec909 (patch) | |
tree | 6eef5f7046753c864d9ec8e58eaa8f32b1b59ece /drivers/input/mouse | |
parent | 5d7e7d479856f23eebc272128905a7ecada367fb (diff) |
Input: remove IRQF_DISABLED from drivers
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>
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r-- | drivers/input/mouse/pxa930_trkball.c | 2 | ||||
-rw-r--r-- | drivers/input/mouse/synaptics_i2c.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/mouse/pxa930_trkball.c b/drivers/input/mouse/pxa930_trkball.c index 6c5d84fcdea1..ee3b0ca9d592 100644 --- a/drivers/input/mouse/pxa930_trkball.c +++ b/drivers/input/mouse/pxa930_trkball.c | |||
@@ -183,7 +183,7 @@ static int __devinit pxa930_trkball_probe(struct platform_device *pdev) | |||
183 | /* held the module in reset, will be enabled in open() */ | 183 | /* held the module in reset, will be enabled in open() */ |
184 | pxa930_trkball_disable(trkball); | 184 | pxa930_trkball_disable(trkball); |
185 | 185 | ||
186 | error = request_irq(irq, pxa930_trkball_interrupt, IRQF_DISABLED, | 186 | error = request_irq(irq, pxa930_trkball_interrupt, 0, |
187 | pdev->name, trkball); | 187 | pdev->name, trkball); |
188 | if (error) { | 188 | if (error) { |
189 | dev_err(&pdev->dev, "failed to request irq: %d\n", error); | 189 | dev_err(&pdev->dev, "failed to request irq: %d\n", error); |
diff --git a/drivers/input/mouse/synaptics_i2c.c b/drivers/input/mouse/synaptics_i2c.c index cba3c84d2f21..e28e9ce0f7eb 100644 --- a/drivers/input/mouse/synaptics_i2c.c +++ b/drivers/input/mouse/synaptics_i2c.c | |||
@@ -570,7 +570,7 @@ static int __devinit synaptics_i2c_probe(struct i2c_client *client, | |||
570 | "Requesting IRQ: %d\n", touch->client->irq); | 570 | "Requesting IRQ: %d\n", touch->client->irq); |
571 | 571 | ||
572 | ret = request_irq(touch->client->irq, synaptics_i2c_irq, | 572 | ret = request_irq(touch->client->irq, synaptics_i2c_irq, |
573 | IRQF_DISABLED|IRQ_TYPE_EDGE_FALLING, | 573 | IRQ_TYPE_EDGE_FALLING, |
574 | DRIVER_NAME, touch); | 574 | DRIVER_NAME, touch); |
575 | if (ret) { | 575 | if (ret) { |
576 | dev_warn(&touch->client->dev, | 576 | dev_warn(&touch->client->dev, |