diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-04-18 21:45:17 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-04-18 22:13:25 -0400 |
commit | 64e8563ca86167b4a991724b416d61c129138359 (patch) | |
tree | d5f052249f81557af07bcd20a0e981b8cd4a9d2e /drivers | |
parent | 4a74491ef514c01f45d820b10501a5cfcccd3c73 (diff) |
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) | |||
142 | } | 142 | } |
143 | 143 | ||
144 | error = request_irq(irq, gpio_keys_isr, | 144 | error = request_irq(irq, gpio_keys_isr, |
145 | IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_RISING | | 145 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, |
146 | IRQF_TRIGGER_FALLING, | ||
147 | button->desc ? button->desc : "gpio_keys", | 146 | button->desc ? button->desc : "gpio_keys", |
148 | bdata); | 147 | bdata); |
149 | if (error) { | 148 | if (error) { |