提交 b1301b90 编写于 作者: S Srinivas Neeli 提交者: Wim Van Sebroeck

watchdog: cadence: Skip printing pointer value

"%p" is not printing the pointer value.
In driver, printing pointer value is not useful so avoiding print.
Signed-off-by: NSrinivas Neeli <srinivas.neeli@xilinx.com>
Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1576825096-26605-1-git-send-email-srinivas.neeli@xilinx.comSigned-off-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NWim Van Sebroeck <wim@linux-watchdog.org>
上级 e0b4f4e0
...@@ -369,9 +369,8 @@ static int cdns_wdt_probe(struct platform_device *pdev) ...@@ -369,9 +369,8 @@ static int cdns_wdt_probe(struct platform_device *pdev)
return ret; return ret;
platform_set_drvdata(pdev, wdt); platform_set_drvdata(pdev, wdt);
dev_info(dev, "Xilinx Watchdog Timer at %p with timeout %ds%s\n", dev_info(dev, "Xilinx Watchdog Timer with timeout %ds%s\n",
wdt->regs, cdns_wdt_device->timeout, cdns_wdt_device->timeout, nowayout ? ", nowayout" : "");
nowayout ? ", nowayout" : "");
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册