summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/s3c2410_wdt.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-06-22 22:36:51 +0100
committerWim Van Sebroeck <wim@iguana.be>2008-08-26 20:18:59 +0000
commit0e65fb2978467a3538af69858ae6bc13d332b9b2 (patch)
treedff256acbd5e244656be1f4f1faa37d86ccf7e03 /drivers/watchdog/s3c2410_wdt.c
parent9e3eaf149043f29cfcb77c2fa163dfa1d2ccbfab (diff)
downloadlinux-0e65fb2978467a3538af69858ae6bc13d332b9b2.tar.gz
linux-0e65fb2978467a3538af69858ae6bc13d332b9b2.tar.bz2
linux-0e65fb2978467a3538af69858ae6bc13d332b9b2.zip
[WATCHDOG] Fix s3c2410_wdt driver coding style issues
Fixup coding style issues in the s3c2410_wdt driver. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/s3c2410_wdt.c')
-rw-r--r--drivers/watchdog/s3c2410_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c
index 825dbd51a949..86d42801de45 100644
--- a/drivers/watchdog/s3c2410_wdt.c
+++ b/drivers/watchdog/s3c2410_wdt.c
@@ -353,7 +353,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
return -ENOENT;
}
- size = (res->end-res->start)+1;
+ size = (res->end - res->start) + 1;
wdt_mem = request_mem_region(res->start, size, pdev->name);
if (wdt_mem == NULL) {
dev_err(dev, "failed to get memory region\n");