]> err.no Git - linux-2.6/commitdiff
ARM minor irq handler cleanup: avoid passing unused info to irq
authorJeff Garzik <jeff@garzik.org>
Wed, 31 Oct 2007 09:07:08 +0000 (05:07 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 20 Apr 2008 22:41:43 +0000 (18:41 -0400)
Reduce human confusion a bit, by /not/ passing an unused value to
arm_rtc_interrupt()

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
arch/arm/mach-integrator/time.c

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