lkml.org 
[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Input: ad7877.c and ad7879.c: Remove depreciated IRQF_SAMPLE_RANDOM flag
Date
From
From: Michael Hennerich <michael.hennerich@analog.com>

This patch removes depreciated IRQF_SAMPLE_RANDOM flags
from drivers currently queued in Dmitry's input subsystem tree.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>

---
drivers/input/touchscreen/ad7877.c | 4 ++--
drivers/input/touchscreen/ad7879.c | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/input/joystick/bfin_rotary.c
b/drivers/input/joystick/bfin_rotary.c
index c318849..7e91bff 100644

--- a/drivers/input/joystick/bfin_rotary.c

+++ b/drivers/input/joystick/bfin_rotary.c

@@ -138,7 +138,7 @@ static int __devinit bfin_rotary_probe(struct
platform_device *pdev)
goto out2;



ret = request_irq(rotary->irq, bfin_rotary_isr,

- IRQF_SAMPLE_RANDOM,
dev_name(&pdev->dev), pdev);
+ 0 , dev_name(&pdev->dev), pdev);
if (ret) {
dev_err(&pdev->dev,

"unable to claim irq %d; error %d\n",

diff --git a/drivers/input/keyboard/adp5588_keys.c
b/drivers/input/keyboard/adp5588_keys.c
index b424ce4..1da7000 100644
--- a/drivers/input/keyboard/adp5588_keys.c
+++ b/drivers/input/keyboard/adp5588_keys.c
@@ -308,7 +308,7 @@ static int __devinit adp5588_probe(struct i2c_client
*client,
}


ret = request_irq(client->irq, adp5588_irq, IRQF_TRIGGER_FALLING
|
- IRQF_SAMPLE_RANDOM | IRQF_DISABLED,

+ IRQF_DISABLED,

client->dev.driver->name, kpad);

if (ret) {
dev_err(&client->dev, "irq %d busy?\n", client->irq);


\
 
 \ /
  Last update: 2009-04-14 12:49    [W:0.056 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site