From: Ben Dooks Date: Sun, 22 Jun 2008 21:36:51 +0000 (+0100) Subject: [WATCHDOG] Fix s3c2410_wdt driver coding style issues X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e65fb2978467a3538af69858ae6bc13d332b9b2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 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");