rtc-ds1553: drop IRQF_SHARED
authorAtsushi Nemoto <[email protected]>
Wed, 17 Jun 2009 23:26:13 +0000 (16:26 -0700)
committerLinus Torvalds <[email protected]>
Thu, 18 Jun 2009 20:03:43 +0000 (13:03 -0700)
IRQF_SHARED should not be used with IRQF_DISABLED.  There is no in-tree
user of this driver and only out-of-tree user I know uses a dedicated irq
line for this RTC.

Signed-off-by: Atsushi Nemoto <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-ds1553.c

index 38d472b6340656d48d53f2d92d300c12d580e2e5..717288527c6bebd01e094bd1d1f214777d95bebb 100644 (file)
@@ -329,8 +329,7 @@ static int __devinit ds1553_rtc_probe(struct platform_device *pdev)
        if (pdata->irq > 0) {
                writeb(0, ioaddr + RTC_INTERRUPTS);
                if (request_irq(pdata->irq, ds1553_rtc_interrupt,
-                               IRQF_DISABLED | IRQF_SHARED,
-                               pdev->name, pdev) < 0) {
+                               IRQF_DISABLED, pdev->name, pdev) < 0) {
                        dev_warn(&pdev->dev, "interrupt not available.\n");
                        pdata->irq = 0;
                }