]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Sun, 16 Oct 2011 20:44:07 +0000 (22:44 +0200)
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sc520_wdt.c

index 52b63f2f0dac3f2e803af4482ef7b4b1fd4f1c76..b2840409ebc72ca5ba6a6f30dc96bc12b00f7b73 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;