lkml.org 
[lkml]   [2017]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] watchdog: cadence_wdt: Show information when driver is probed
On Fri, Aug 04, 2017 at 09:39:17AM +0200, Michal Simek wrote:
> 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>

> ---
>
> drivers/watchdog/cadence_wdt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/cadence_wdt.c b/drivers/watchdog/cadence_wdt.c
> index dadd3b0c2d49..064cf7b6c1c5 100644
> --- a/drivers/watchdog/cadence_wdt.c
> +++ b/drivers/watchdog/cadence_wdt.c
> @@ -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" : "");
>
> --
> 1.9.1
>

\
 
 \ /
  Last update: 2017-08-14 16:49    [W:0.063 / U:0.148 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site