aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sc520_wdt.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2011-08-23 22:30:09 +0100
committerWim Van Sebroeck <wim@iguana.be>2011-11-05 21:15:10 +0100
commitcef153a8d41195f69314d93d4b2b7395e263a3a1 (patch)
treec051ee4445d0a61ff738d40c566db02ad8634a5a /drivers/watchdog/sc520_wdt.c
parentARM: EXYNOS4: Fix the merge conflict (diff)
downloadlinux-dev-cef153a8d41195f69314d93d4b2b7395e263a3a1.tar.xz
linux-dev-cef153a8d41195f69314d93d4b2b7395e263a3a1.zip
watchdog: sc520_wdt: Remove unnecessary cast.
Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/sc520_wdt.c')
-rw-r--r--drivers/watchdog/sc520_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/sc520_wdt.c b/drivers/watchdog/sc520_wdt.c
index 52b63f2f0dac..b2840409ebc7 100644
--- a/drivers/watchdog/sc520_wdt.c
+++ b/drivers/watchdog/sc520_wdt.c
@@ -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;