From: Illia Smyrnov Date: Mon, 26 Aug 2013 06:32:45 +0000 (-0700) Subject: Input: omap-keypad - set up irq type from DT X-Git-Tag: v3.12-rc1~9^2~1^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50f3c163751f84bd572a712a255cd69903e232e2;p=kernel%2Fkernel-generic.git 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 Reviewed-by: Felipe Balbi Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index cd6b917..30acfd4 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) } error = request_threaded_irq(keypad_data->irq, omap4_keypad_irq_handler, - omap4_keypad_irq_thread_fn, - IRQF_TRIGGER_RISING, + omap4_keypad_irq_thread_fn, 0, "omap4-keypad", keypad_data); if (error) { dev_err(&pdev->dev, "failed to register interrupt\n");