summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-qoriq.c
diff options
context:
space:
mode:
authorEmil Medve <Emilian.Medve@Freescale.com>2015-01-21 11:03:29 +0100
committerMichael Turquette <mturquette@linaro.org>2015-01-28 19:11:40 +0100
commitc88b2b662a05810399da3e5494231bd79bad56b6 (patch)
treef86ca25706b643a38adf6edf8399498965e3fe71 /drivers/clk/clk-qoriq.c
parentclk: qoriq: Replace kzalloc() with kmalloc() (diff)
downloadlinux-c88b2b662a05810399da3e5494231bd79bad56b6.tar.xz
linux-c88b2b662a05810399da3e5494231bd79bad56b6.zip
clk: qoriq: Use pr_fmt()
Currently a mix of clk-qoriq/qoriq-clk and no prefix is used Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-qoriq.c')
-rw-r--r--drivers/clk/clk-qoriq.c7
1 files changed, 5 insertions, 2 deletions
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 <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/kernel.h>
@@ -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;
}