summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2014-02-12 14:41:22 +0100
committerWim Van Sebroeck <wim@iguana.be>2014-03-31 13:29:21 +0200
commit75b3c5a827de11620f9bf7cbd6c3e4208bd3ddf5 (patch)
tree96ad2b15d34e755e08fe38389a22746beb1d84d4 /drivers/watchdog
parentwatchdog: xilinx: Use of_property_read_u32 (diff)
downloadlinux-75b3c5a827de11620f9bf7cbd6c3e4208bd3ddf5.tar.xz
linux-75b3c5a827de11620f9bf7cbd6c3e4208bd3ddf5.zip
watchdog: xilinx: Use correct comment indentation
No functional changes. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/of_xilinx_wdt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c
index 8c1a3f9fcefe..97370f63897c 100644
--- a/drivers/watchdog/of_xilinx_wdt.c
+++ b/drivers/watchdog/of_xilinx_wdt.c
@@ -189,10 +189,10 @@ static int xwdt_probe(struct platform_device *pdev)
watchdog_set_nowayout(xilinx_wdt_wdd, enable_once);
-/*
- * Twice of the 2^wdt_interval / freq because the first wdt overflow is
- * ignored (interrupt), reset is only generated at second wdt overflow
- */
+ /*
+ * Twice of the 2^wdt_interval / freq because the first wdt overflow is
+ * ignored (interrupt), reset is only generated at second wdt overflow
+ */
if (!no_timeout)
xilinx_wdt_wdd->timeout = 2 * ((1 << xdev->wdt_interval) /
pfreq);