RE: [PATCH] Input: ad7877.c and ad7879.c: Remove depreciated IRQF_SAMPLE_RANDOM flag

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hennerich, Michael
Date: Tuesday, April 14, 2009 - 3:57 am

From: Michael Hennerich <michael.hennerich@analog.com>

Dmitry,

Please ignore my last email.
 
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/touchscreen/ad7877.c
b/drivers/input/touchscreen/ad7877.c
index 047bb57..dae7357 100644
--- a/drivers/input/touchscreen/ad7877.c
+++ b/drivers/input/touchscreen/ad7877.c
@@ -739,8 +739,8 @@ static int __devinit ad7877_probe(struct spi_device
*spi)
 
 	/* Request AD7877 /DAV GPIO interrupt */
 
-	err = request_irq(spi->irq, ad7877_irq, IRQF_TRIGGER_FALLING |
-			IRQF_SAMPLE_RANDOM, spi->dev.driver->name, ts);
+	err = request_irq(spi->irq, ad7877_irq, IRQF_TRIGGER_FALLING,
+			spi->dev.driver->name, ts);
 	if (err) {
 		dev_dbg(&spi->dev, "irq %d busy?\n", spi->irq);
 		goto err_free_mem;
diff --git a/drivers/input/touchscreen/ad7879.c
b/drivers/input/touchscreen/ad7879.c
index 59fad2f..2eb40ee 100644
--- a/drivers/input/touchscreen/ad7879.c
+++ b/drivers/input/touchscreen/ad7879.c
@@ -448,8 +448,7 @@ static int __devinit ad7879_construct(bus_device
*bus, struct ad7879 *ts)
 	ad7879_setup(ts);
 
 	err = request_irq(bus->irq, ad7879_irq,
-			  IRQF_TRIGGER_FALLING | IRQF_SAMPLE_RANDOM,
-			  bus->dev.driver->name, ts);
+			  IRQF_TRIGGER_FALLING, bus->dev.driver->name,
ts);
 
 	if (err) {
 		dev_err(&bus->dev, "irq %d busy?\n", bus->irq);



'Robin Getz'; Hennerich, Michael
IRQF_SAMPLE_RANDOM flag
b/drivers/input/joystick/bfin_rotary.c
platform_device *pdev)
dev_name(&pdev->dev), pdev);
b/drivers/input/keyboard/adp5588_keys.c
i2c_client *client,
IRQF_TRIGGER_FALLING |
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Input: bf54x-keys: Fix typo, Bryan Wu, (Thu Mar 5, 8:34 pm)
Re: [PATCH] Input: bf54x-keys: Fix typo, Dmitry Torokhov, (Fri Mar 6, 2:38 am)
[PATCH] Input: bf54x-keys: Remove depreciated IRQF_SAMPLE_ ..., Hennerich, Michael, (Tue Apr 14, 2:40 am)
[PATCH] Input: ad7877.c and ad7879.c: Remove depreciated I ..., Hennerich, Michael, (Tue Apr 14, 3:44 am)
RE: [PATCH] Input: ad7877.c and ad7879.c: Remove depreciat ..., Hennerich, Michael, (Tue Apr 14, 3:57 am)