diff mbox series

clocksource: arm_arch_timer: remove unneeded pr_fmt macro

Message ID 20190305170851.24643-1-tiny.windzz@gmail.com (mailing list archive)
State Mainlined, archived
Commit 9155697e20040658438b89e4ceec415ec125f478
Headers show
Series clocksource: arm_arch_timer: remove unneeded pr_fmt macro | expand

Commit Message

Yangtao Li March 5, 2019, 5:08 p.m. UTC
After this commit ded24019b6b6f(clocksource: arm_arch_timer: clean up
printk usage), the previous macro is redundant, so delete it.

And move the new macro to the previous position.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/clocksource/arm_arch_timer.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

Comments

Daniel Lezcano March 7, 2019, 9:09 a.m. UTC | #1
On 05/03/2019 18:08, Yangtao Li wrote:
> After this commit ded24019b6b6f(clocksource: arm_arch_timer: clean up
> printk usage), the previous macro is redundant, so delete it.
> 
> And move the new macro to the previous position.
> 
> Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
> ---

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 9a7d4dc00b6e..675243eb8cd4 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -9,7 +9,7 @@ 
  * published by the Free Software Foundation.
  */
 
-#define pr_fmt(fmt)	"arm_arch_timer: " fmt
+#define pr_fmt(fmt) 	"arch_timer: " fmt
 
 #include <linux/init.h>
 #include <linux/kernel.h>
@@ -33,9 +33,6 @@ 
 
 #include <clocksource/arm_arch_timer.h>
 
-#undef pr_fmt
-#define pr_fmt(fmt) "arch_timer: " fmt
-
 #define CNTTIDR		0x08
 #define CNTTIDR_VIRT(n)	(BIT(1) << ((n) * 4))