Skip to contentSkip to conversation

rtc-ds1553: Drop IRQF_SHARED

PATCH RESEND New Atsushi Nemoto 1 participant 1 message May 5, 2009 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 rtc-ds1553: Drop IRQF_SHARED

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.

---
 drivers/rtc/rtc-ds1553.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/rtc/rtc-ds1553.c +1 -2
index 38d472b..7172885 100644
@@ -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;
 		}
Signature · 1 line
1.5.6.3