watchdog: sc520_wdt: Remove unnecessary cast.
Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
parent
dc822e57ee
commit
cef153a8d4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue