From: Alexey Klimov Date: Sun, 25 Oct 2015 23:21:22 +0000 (+0000) Subject: clocksource/drivers/mtk_timer: Add pr_fmt define X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9a78ec45bd6ac7650a995a9de0912fd75d6b6886;p=linux-beck.git 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 Signed-off-by: Alexey Klimov Signed-off-by: Daniel Lezcano --- 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 #include #include