Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50f3c163 authored by Illia Smyrnov's avatar Illia Smyrnov Committed by Dmitry Torokhov
Browse files

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: default avatarIllia Smyrnov <illia.smyrnov@ti.com>
Reviewed-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 78608a0d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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");