mirror of https://gitee.com/openkylin/linux.git
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: Srinivas Neeli <srinivas.neeli@xilinx.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/1576825096-26605-1-git-send-email-srinivas.neeli@xilinx.com Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
parent
e0b4f4e0cf
commit
b1301b9022
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue