Linux-Watchdog Archive on lore.kernel.org
 help / Atom feed
* [PATCH] watchdog: dw: remove useless pr_fmt
@ 2019-01-25  7:57 Jisheng Zhang
  2019-01-25  9:02 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Jisheng Zhang @ 2019-01-25  7:57 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck; +Cc: linux-watchdog, linux-kernel

When switch to watchdog infrastructure, pr_* usage is removed, so
there's no any users of the pr_fmt, remove it.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
---
 drivers/watchdog/dw_wdt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
index c053c2de5c2f..0ce8fa5cfbf4 100644
--- a/drivers/watchdog/dw_wdt.c
+++ b/drivers/watchdog/dw_wdt.c
@@ -16,8 +16,6 @@
  * heartbeat requests after the watchdog device has been closed.
  */
 
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
 #include <linux/bitops.h>
 #include <linux/clk.h>
 #include <linux/delay.h>
-- 
2.20.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] watchdog: dw: remove useless pr_fmt
  2019-01-25  7:57 [PATCH] watchdog: dw: remove useless pr_fmt Jisheng Zhang
@ 2019-01-25  9:02 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2019-01-25  9:02 UTC (permalink / raw)
  To: Jisheng Zhang, Wim Van Sebroeck; +Cc: linux-watchdog, linux-kernel

On 1/24/19 11:57 PM, Jisheng Zhang wrote:
> When switch to watchdog infrastructure, pr_* usage is removed, so
> there's no any users of the pr_fmt, remove it.
> 
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   drivers/watchdog/dw_wdt.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c
> index c053c2de5c2f..0ce8fa5cfbf4 100644
> --- a/drivers/watchdog/dw_wdt.c
> +++ b/drivers/watchdog/dw_wdt.c
> @@ -16,8 +16,6 @@
>    * heartbeat requests after the watchdog device has been closed.
>    */
>   
> -#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> -
>   #include <linux/bitops.h>
>   #include <linux/clk.h>
>   #include <linux/delay.h>
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-25  7:57 [PATCH] watchdog: dw: remove useless pr_fmt Jisheng Zhang
2019-01-25  9:02 ` Guenter Roeck

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org linux-watchdog@archiver.kernel.org
	public-inbox-index linux-watchdog


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/ public-inbox