Commit a40b2c3d authored by Srinivas Goud's avatar Srinivas Goud Committed by Wim Van Sebroeck

watchdog: of_xilinx_wdt: Used dev_dbg()

This patch removes pr_info in stop function and adds dev_dbg()
in start/stop function to display device specific debug info.
Signed-off-by: default avatarSrinivas Goud <srinivas.goud@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarSrinivas Neeli <srinivas.neeli@xilinx.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210329161939.37680-4-srinivas.neeli@xilinx.comSigned-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 73ec9440
...@@ -71,6 +71,8 @@ static int xilinx_wdt_start(struct watchdog_device *wdd) ...@@ -71,6 +71,8 @@ static int xilinx_wdt_start(struct watchdog_device *wdd)
spin_unlock(&xdev->spinlock); spin_unlock(&xdev->spinlock);
dev_dbg(wdd->parent, "Watchdog Started!\n");
return 0; return 0;
} }
...@@ -92,7 +94,7 @@ static int xilinx_wdt_stop(struct watchdog_device *wdd) ...@@ -92,7 +94,7 @@ static int xilinx_wdt_stop(struct watchdog_device *wdd)
clk_disable(xdev->clk); clk_disable(xdev->clk);
pr_info("Stopped!\n"); dev_dbg(wdd->parent, "Watchdog Stopped!\n");
return 0; return 0;
} }
......
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