aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/mtk_timer.c
diff options
context:
space:
mode:
authorGravatar Alexey Klimov <alexey.klimov@linaro.org> 2015-10-25 23:21:22 +0000
committerGravatar Daniel Lezcano <daniel.lezcano@linaro.org> 2015-12-15 09:41:00 +0100
commit9a78ec45bd6ac7650a995a9de0912fd75d6b6886 (patch)
treefe083aadb73dc312ef6f249953acc51a2c6173f3 /drivers/clocksource/mtk_timer.c
parentnohz: Clarify magic in tick_nohz_stop_sched_tick() (diff)
downloadlinux-9a78ec45bd6ac7650a995a9de0912fd75d6b6886.tar.gz
linux-9a78ec45bd6ac7650a995a9de0912fd75d6b6886.tar.bz2
linux-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 <matthias.bgg@gmail.com> Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
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>