2019-01-25 07:58:29

by Jisheng Zhang

[permalink] [raw]
Subject: [PATCH] watchdog: dw: remove useless pr_fmt

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 <[email protected]>
---
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



2019-01-25 09:03:05

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] watchdog: dw: remove useless pr_fmt

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 <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> 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>
>