Commit 64e8563c authored by Dmitry Torokhov's avatar Dmitry Torokhov

Input: gpio-keys - remove depreciated IRQF_SAMPLE_RANDOM flag

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 4a74491e
...@@ -142,8 +142,7 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev) ...@@ -142,8 +142,7 @@ static int __devinit gpio_keys_probe(struct platform_device *pdev)
} }
error = request_irq(irq, gpio_keys_isr, error = request_irq(irq, gpio_keys_isr,
IRQF_SAMPLE_RANDOM | IRQF_TRIGGER_RISING | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
IRQF_TRIGGER_FALLING,
button->desc ? button->desc : "gpio_keys", button->desc ? button->desc : "gpio_keys",
bdata); bdata);
if (error) { if (error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment