Commit 0e65fb29 authored by Ben Dooks's avatar Ben Dooks Committed by Wim Van Sebroeck

[WATCHDOG] Fix s3c2410_wdt driver coding style issues

Fixup coding style issues in the s3c2410_wdt driver.
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 9e3eaf14
...@@ -353,7 +353,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev) ...@@ -353,7 +353,7 @@ static int s3c2410wdt_probe(struct platform_device *pdev)
return -ENOENT; return -ENOENT;
} }
size = (res->end-res->start)+1; size = (res->end - res->start) + 1;
wdt_mem = request_mem_region(res->start, size, pdev->name); wdt_mem = request_mem_region(res->start, size, pdev->name);
if (wdt_mem == NULL) { if (wdt_mem == NULL) {
dev_err(dev, "failed to get memory region\n"); dev_err(dev, "failed to get memory region\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment