diff options
author | Barry Song <Baohua.Song@csr.com> | 2014-02-14 11:43:05 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-02-15 16:08:42 -0500 |
commit | 5099817eaf1c5377059b703496e4d32769d0f2d7 (patch) | |
tree | d1b8de0b78ad113e0be6a251077a3f52ae20a155 | |
parent | 864d3c0fe41c5e9ea4a477509b670e7503bda84c (diff) |
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 <Baohua.Song@csr.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | drivers/input/misc/sirfsoc-onkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
127 | 127 | ||
128 | irq = platform_get_irq(pdev, 0); | 128 | irq = platform_get_irq(pdev, 0); |
129 | error = devm_request_irq(&pdev->dev, irq, | 129 | error = devm_request_irq(&pdev->dev, irq, |
130 | sirfsoc_pwrc_isr, IRQF_SHARED, | 130 | sirfsoc_pwrc_isr, 0, |
131 | "sirfsoc_pwrc_int", pwrcdrv); | 131 | "sirfsoc_pwrc_int", pwrcdrv); |
132 | if (error) { | 132 | if (error) { |
133 | dev_err(&pdev->dev, "unable to claim irq %d, error: %d\n", | 133 | dev_err(&pdev->dev, "unable to claim irq %d, error: %d\n", |