From: Ben Dooks Date: Sun, 22 Jun 2008 21:36:51 +0000 (+0100) Subject: [WATCHDOG] Fix s3c2410_wdt driver coding style issues X-Git-Tag: upstream/snapshot3+hdmi~22818^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e65fb2978467a3538af69858ae6bc13d332b9b2;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [WATCHDOG] Fix s3c2410_wdt driver coding style issues Fixup coding style issues in the s3c2410_wdt driver. Signed-off-by: Ben Dooks Signed-off-by: Wim Van Sebroeck --- 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");