Skip to content

Commit

Permalink
Input: gpio-keys - remove depreciated IRQF_SAMPLE_RANDOM flag
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Dmitry Torokhov committed Apr 19, 2009
1 parent 4a74491 commit 64e8563
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/input/keyboard/gpio_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 64e8563

Please sign in to comment.