diff options
author | Illia Smyrnov <illia.smyrnov@ti.com> | 2013-08-26 02:32:45 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-08-26 03:16:02 -0400 |
commit | 50f3c163751f84bd572a712a255cd69903e232e2 (patch) | |
tree | 60af0f53f2ecdc4b9e12506a64e1e5bfceacc045 /drivers/input | |
parent | 78608a0d940982e926401b4fa5e4a9061e9b53f3 (diff) |
Input: omap-keypad - set up irq type from DT
OMAP4 is DT only, so read the keypad IRQ type from DT instead hard-coding
it in the driver.
Signed-off-by: Illia Smyrnov <illia.smyrnov@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/omap4-keypad.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index cd6b9175179a..30acfd49fa6c 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
@@ -373,8 +373,7 @@ static int omap4_keypad_probe(struct platform_device *pdev) | |||
373 | } | 373 | } |
374 | 374 | ||
375 | error = request_threaded_irq(keypad_data->irq, omap4_keypad_irq_handler, | 375 | error = request_threaded_irq(keypad_data->irq, omap4_keypad_irq_handler, |
376 | omap4_keypad_irq_thread_fn, | 376 | omap4_keypad_irq_thread_fn, 0, |
377 | IRQF_TRIGGER_RISING, | ||
378 | "omap4-keypad", keypad_data); | 377 | "omap4-keypad", keypad_data); |
379 | if (error) { | 378 | if (error) { |
380 | dev_err(&pdev->dev, "failed to register interrupt\n"); | 379 | dev_err(&pdev->dev, "failed to register interrupt\n"); |