Skip to content

Commit

Permalink
clk: qoriq: Use pr_fmt()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emil Medve authored and Michael Turquette committed Jan 28, 2015
1 parent 6ef1cca commit c88b2b6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/clk/clk-qoriq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit c88b2b6

Please sign in to comment.