* [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 related [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, other threads:[~2019-01-25 9:02 UTC | newest]
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).