]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[WATCHDOG] Fix s3c2410_wdt driver coding style issues
authorBen Dooks <ben-linux@fluff.org>
Sun, 22 Jun 2008 21:36:51 +0000 (22:36 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 26 Aug 2008 20:18:59 +0000 (20:18 +0000)
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>
drivers/watchdog/s3c2410_wdt.c

index 825dbd51a9496ea0a10c6505b80b841f2cbb1281..86d42801de451b53df52aa438affc0fb937333fb 100644 (file)
@@ -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");