From 5099817eaf1c5377059b703496e4d32769d0f2d7 Mon Sep 17 00:00:00 2001 From: Barry Song Date: Fri, 14 Feb 2014 08:43:05 -0800 Subject: [PATCH] Input: sirfsoc-onkey - drop the IRQF_SHARED flag Since the IRQ handler always returns IRQ_HANDLED it means this irq is not a shared IRQ at all. Or at least, the SW is not self-consistent now. Signed-off-by: Barry Song Signed-off-by: Dmitry Torokhov --- drivers/input/misc/sirfsoc-onkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c index 0755614c8ee5..3b54cba650de 100644 --- a/drivers/input/misc/sirfsoc-onkey.c +++ b/drivers/input/misc/sirfsoc-onkey.c @@ -127,7 +127,7 @@ static int sirfsoc_pwrc_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); error = devm_request_irq(&pdev->dev, irq, - sirfsoc_pwrc_isr, IRQF_SHARED, + sirfsoc_pwrc_isr, 0, "sirfsoc_pwrc_int", pwrcdrv); if (error) { dev_err(&pdev->dev, "unable to claim irq %d, error: %d\n", -- 2.20.1