watchdog: sc520_wdt: Remove unnecessary cast.
authorSean Young <sean@mess.org>
Tue, 23 Aug 2011 21:30:09 +0000 (22:30 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 5 Nov 2011 20:15:10 +0000 (21:15 +0100)
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sc520_wdt.c

index 52b63f2..b284040 100644 (file)
@@ -398,7 +398,7 @@ static int __init sc520_wdt_init(void)
                                                        WATCHDOG_TIMEOUT);
        }
 
-       wdtmrctl = ioremap((unsigned long)(MMCR_BASE + OFFS_WDTMRCTL), 2);
+       wdtmrctl = ioremap(MMCR_BASE + OFFS_WDTMRCTL, 2);
        if (!wdtmrctl) {
                printk(KERN_ERR PFX "Unable to remap memory\n");
                rc = -ENOMEM;