[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1445213365-24530-1-git-send-email-alexey.klimov@linaro.org>
Date: Mon, 19 Oct 2015 03:09:23 +0300
From: Alexey Klimov <alexey.klimov@...aro.org>
To: daniel.lezcano@...aro.org, matthias.bgg@...il.com,
linux-kernel@...r.kernel.org
Cc: linux-mediatek@...ts.infradead.org, yingjoe.chen@...iatek.com,
tglx@...utronix.de, klimov.linux@...il.com, joe@...ches.com,
Alexey Klimov <alexey.klimov@...aro.org>
Subject: [PATCH v2 1/3] clocksource: mtk_timer: add pr_fmt define
It's a bit unclear what subsystem/driver emits some messages
to dmesg in function mtk_init_timer().
Use pr_fmt to auto-prefix the messages appropriately.
Acked-by: Matthias Brugger <matthias.bgg@...il.com>
Signed-off-by: Alexey Klimov <alexey.klimov@...aro.org>
---
drivers/clocksource/mtk_timer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c
index 50f0641..ca5ea9e 100644
--- a/drivers/clocksource/mtk_timer.c
+++ b/drivers/clocksource/mtk_timer.c
@@ -16,6 +16,8 @@
* GNU General Public License for more details.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/clk.h>
#include <linux/clockchips.h>
#include <linux/interrupt.h>
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists