Input: gpio-keys - remove depreciated IRQF_SAMPLE_RANDOM flag
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 19 Apr 2009 01:45:17 +0000 (18:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 19 Apr 2009 02:13:25 +0000 (19:13 -0700)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c

index ad67d763fdbda4137b46d166666e7fc53b36455b..9767213b6c8f1f533619e393cc9144bbfd026658 100644 (file)
@@ -142,8 +142,7 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev)
                }
 
                error = request_irq(irq, gpio_keys_isr,
-                                   IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_RISING |
-                                       IRQF_TRIGGER_FALLING,
+                                   IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
                                    button->desc ? button->desc : "gpio_keys",
                                    bdata);
                if (error) {