Input: gpio-keys - remove depreciated IRQF_SAMPLE_RANDOM flag
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
4a74491ef5
commit
64e8563ca8
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue