aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/mtk_timer.c
diff options
context:
space:
mode:
authorAlexey Klimov <[email protected]>2015-10-25 23:21:22 +0000
committerDaniel Lezcano <[email protected]>2015-12-15 08:41:00 +0000
commit9a78ec45bd6ac7650a995a9de0912fd75d6b6886 (patch)
treefe083aadb73dc312ef6f249953acc51a2c6173f3 /drivers/clocksource/mtk_timer.c
parentnohz: Clarify magic in tick_nohz_stop_sched_tick() (diff)
downloadkernel-9a78ec45bd6ac7650a995a9de0912fd75d6b6886.tar.gz
kernel-9a78ec45bd6ac7650a995a9de0912fd75d6b6886.zip
clocksource/drivers/mtk_timer: Add pr_fmt define
It's a bit unclear what subsystem/driver emits some messages to dmesg in the function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Acked-by: Matthias Brugger <[email protected]> Signed-off-by: Alexey Klimov <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/clocksource/mtk_timer.c')
-rw-r--r--drivers/clocksource/mtk_timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c
index fbfc74685e6a..8f99cd73fced 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>