diff options
author | Alexey Klimov <alexey.klimov@linaro.org> | 2015-10-26 00:21:22 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-12-15 09:41:00 +0100 |
commit | 9a78ec45bd6ac7650a995a9de0912fd75d6b6886 (patch) | |
tree | fe083aadb73dc312ef6f249953acc51a2c6173f3 /drivers/clocksource/mtk_timer.c | |
parent | nohz: Clarify magic in tick_nohz_stop_sched_tick() (diff) | |
download | linux-9a78ec45bd6ac7650a995a9de0912fd75d6b6886.tar.xz 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.c | 2 |
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> |