diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-04-19 03:45:17 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-04-19 04:13:25 +0200 |
commit | 64e8563ca86167b4a991724b416d61c129138359 (patch) | |
tree | d5f052249f81557af07bcd20a0e981b8cd4a9d2e /drivers | |
parent | Input: fix typo in documentation (diff) | |
download | linux-64e8563ca86167b4a991724b416d61c129138359.tar.xz linux-64e8563ca86167b4a991724b416d61c129138359.zip |
Input: gpio-keys - remove depreciated IRQF_SAMPLE_RANDOM flag
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index ad67d763fdbd..9767213b6c8f 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c @@ -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) { |