* [PATCH] clocksource: arm_arch_timer: remove unneeded pr_fmt macro
@ 2019-03-05 17:08 Yangtao Li
2019-03-07 9:09 ` Daniel Lezcano
0 siblings, 1 reply; 2+ messages in thread
From: Yangtao Li @ 2019-03-05 17:08 UTC (permalink / raw)
To: mark.rutland, marc.zyngier, daniel.lezcano, tglx
Cc: Yangtao Li, linux-kernel, linux-arm-kernel
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(-)
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))
--
2.17.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clocksource: arm_arch_timer: remove unneeded pr_fmt macro
2019-03-05 17:08 [PATCH] clocksource: arm_arch_timer: remove unneeded pr_fmt macro Yangtao Li
@ 2019-03-07 9:09 ` Daniel Lezcano
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2019-03-07 9:09 UTC (permalink / raw)
To: Yangtao Li, mark.rutland, marc.zyngier, tglx
Cc: linux-kernel, linux-arm-kernel
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
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-07 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-05 17:08 [PATCH] clocksource: arm_arch_timer: remove unneeded pr_fmt macro Yangtao Li
2019-03-07 9:09 ` Daniel Lezcano
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).