From: Srinivas Goud Date: Mon, 29 Mar 2021 16:19:37 +0000 (+0530) Subject: watchdog: of_xilinx_wdt: Used dev_dbg() X-Git-Tag: accepted/tizen/unified/20230118.172025~6872^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a40b2c3dc360d2c8c8614864f523dd0923b5f876;p=platform%2Fkernel%2Flinux-rpi.git 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: Srinivas Goud Signed-off-by: Michal Simek Signed-off-by: Srinivas Neeli Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/20210329161939.37680-4-srinivas.neeli@xilinx.com Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/of_xilinx_wdt.c b/drivers/watchdog/of_xilinx_wdt.c index f76ec56..5f31fde 100644 --- a/drivers/watchdog/of_xilinx_wdt.c +++ b/drivers/watchdog/of_xilinx_wdt.c @@ -71,6 +71,8 @@ static int xilinx_wdt_start(struct watchdog_device *wdd) spin_unlock(&xdev->spinlock); + dev_dbg(wdd->parent, "Watchdog Started!\n"); + return 0; } @@ -92,7 +94,7 @@ static int xilinx_wdt_stop(struct watchdog_device *wdd) clk_disable(xdev->clk); - pr_info("Stopped!\n"); + dev_dbg(wdd->parent, "Watchdog Stopped!\n"); return 0; }