From: Emil Medve Date: Wed, 21 Jan 2015 10:03:29 +0000 (-0600) Subject: clk: qoriq: Use pr_fmt() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c88b2b662a05810399da3e5494231bd79bad56b6;p=linux-beck.git clk: qoriq: Use pr_fmt() Currently a mix of clk-qoriq/qoriq-clk and no prefix is used Signed-off-by: Emil Medve Signed-off-by: Michael Turquette --- diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 4b4482567890..07bdfc5375ea 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -7,6 +7,9 @@ * * clock driver for Freescale QorIQ SoCs. */ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include @@ -163,7 +166,7 @@ static void __init core_pll_init(struct device_node *np) base = of_iomap(np, 0); if (!base) { - pr_err("clk-qoriq: iomap error\n"); + pr_err("iomap error\n"); return; } @@ -253,7 +256,7 @@ static void __init sysclk_init(struct device_node *node) u32 rate; if (!np) { - pr_err("qoriq-clk: could not get parent node\n"); + pr_err("could not get parent node\n"); return; }