Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752782AbdHNOrz (ORCPT ); Mon, 14 Aug 2017 10:47:55 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:59176 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752181AbdHNOrx (ORCPT ); Mon, 14 Aug 2017 10:47:53 -0400 Date: Mon, 14 Aug 2017 07:47:50 -0700 From: Guenter Roeck To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, linux-watchdog@vger.kernel.org, Wim Van Sebroeck Subject: Re: [PATCH 2/2] watchdog: cadence_wdt: Show information when driver is probed Message-ID: <20170814144750.GC14491@roeck-us.net> References: <6c3cef5b847f315f5fc1eb891b040e33719e88c7.1501832354.git.michal.simek@xilinx.com> <32d58c86a3afbdfc25fe26a9e51df917ce5da4ac.1501832354.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32d58c86a3afbdfc25fe26a9e51df917ce5da4ac.1501832354.git.michal.simek@xilinx.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 30 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 Reviewed-by: Guenter Roeck > --- > > 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 >