aboutsummaryrefslogtreecommitdiffstats
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
parent9e3eaf149043f29cfcb77c2fa163dfa1d2ccbfab (diff)
downloadkernel_samsung_tuna-0e65fb2978467a3538af69858ae6bc13d332b9b2.zip
kernel_samsung_tuna-0e65fb2978467a3538af69858ae6bc13d332b9b2.tar.gz
kernel_samsung_tuna-0e65fb2978467a3538af69858ae6bc13d332b9b2.tar.bz2
[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>
-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 825dbd5..86d4280 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");