diff options
author | Emil Medve <Emilian.Medve@Freescale.com> | 2015-01-21 04:03:29 -0600 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-01-28 10:11:40 -0800 |
commit | c88b2b662a05810399da3e5494231bd79bad56b6 (patch) | |
tree | f86ca25706b643a38adf6edf8399498965e3fe71 /drivers/clk | |
parent | 6ef1ccac50b08a73835649adff10a0166fc7db21 (diff) | |
download | linux-c88b2b662a05810399da3e5494231bd79bad56b6.tar.bz2 |
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')
-rw-r--r-- | drivers/clk/clk-qoriq.c | 7 |
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; } |