watchdog: cadence_wdt: Show information when driver is probed
authorMichal Simek <michal.simek@xilinx.com>
Fri, 4 Aug 2017 07:39:17 +0000 (09:39 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 18:35:31 +0000 (20:35 +0200)
Showing message that driver is loaded is common across drivers.
This change also fixes checkpatch (--strict) warning
"Alignment should match open parenthesis".

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/cadence_wdt.c

index dadd3b0c2d490a6c155589e2dedd38379baa8fe6..064cf7b6c1c58b7851b986de83a4afe77c7138a0 100644 (file)
@@ -368,7 +368,7 @@ static int cdns_wdt_probe(struct platform_device *pdev)
        }
        platform_set_drvdata(pdev, wdt);
 
-       dev_dbg(&pdev->dev, "Xilinx Watchdog Timer at %p with timeout %ds%s\n",
+       dev_info(&pdev->dev, "Xilinx Watchdog Timer at %p with timeout %ds%s\n",
                 wdt->regs, cdns_wdt_device->timeout,
                 nowayout ? ", nowayout" : "");