Browse Source

ARM minor irq handler cleanup: avoid passing unused info to irq

Reduce human confusion a bit, by /not/ passing an unused value to
arm_rtc_interrupt()

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Jeff Garzik 18 years ago
parent
commit
90968eb5a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-integrator/time.c

+ 1 - 1
arch/arm/mach-integrator/time.c

@@ -125,7 +125,7 @@ static int rtc_probe(struct amba_device *dev, void *id)
 	xtime.tv_sec = __raw_readl(rtc_base + RTC_DR);
 	xtime.tv_sec = __raw_readl(rtc_base + RTC_DR);
 
 
 	ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED,
 	ret = request_irq(dev->irq[0], arm_rtc_interrupt, IRQF_DISABLED,
-			  "rtc-pl030", dev);
+			  "rtc-pl030", NULL);
 	if (ret)
 	if (ret)
 		goto map_out;
 		goto map_out;