summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/ad7877.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2009-04-14 19:38:36 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-04-15 17:58:22 +0200
commit0bc69ce692bd240bef2819d9f3b3527fad524f5b (patch)
tree9455f58bc3962200b98245ee738bbf29ccb77782 /drivers/input/touchscreen/ad7877.c
parentInput: da9034-ts - make pen {down,up} events more reliable (diff)
downloadlinux-0bc69ce692bd240bef2819d9f3b3527fad524f5b.tar.xz
linux-0bc69ce692bd240bef2819d9f3b3527fad524f5b.zip
Input: ad7877, ad7879 - remove depreciated IRQF_SAMPLE_RANDOM flag
This patch removes depreciated IRQF_SAMPLE_RANDOM flags from ad7877 and ad7879 touchscreen drivers. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/ad7877.c')
-rw-r--r--drivers/input/touchscreen/ad7877.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ad7877.c b/drivers/input/touchscreen/ad7877.c
index e4728a28f492..ecaeb7e8e75e 100644
--- a/drivers/input/touchscreen/ad7877.c
+++ b/drivers/input/touchscreen/ad7877.c
@@ -736,8 +736,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;