rtc-tx4939: drop IRQF_SHARED
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 17 Jun 2009 23:26:12 +0000 (16:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 18 Jun 2009 20:03:43 +0000 (13:03 -0700)
IRQF_SHARED should not be used with IRQF_DISABLED.  This RTC have a
dedicated irq line to SoC's internal interrupt controller so there is
no reason to use IRQF_SHARED.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-tx4939.c

index 4ee4857ff207a863abfd430e278a70a908b561ed..4a6ed1104fbb4a86ca3579677d6a558384ceedc5 100644 (file)
@@ -261,10 +261,8 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev)
 
        tx4939_rtc_cmd(pdata->rtcreg, TX4939_RTCCTL_COMMAND_NOP);
        if (devm_request_irq(&pdev->dev, irq, tx4939_rtc_interrupt,
-                            IRQF_DISABLED | IRQF_SHARED,
-                            pdev->name, &pdev->dev) < 0) {
+                            IRQF_DISABLED, pdev->name, &pdev->dev) < 0)
                return -EBUSY;
-       }
        rtc = rtc_device_register(pdev->name, &pdev->dev,
                                  &tx4939_rtc_ops, THIS_MODULE);
        if (IS_ERR(rtc))