diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-13 19:24:55 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-13 19:24:55 +0900 |
commit | 550a1ef18a53cae3d908edceca9daaafbedcf12f (patch) | |
tree | e51db6b524d6d5d9070a2a3b24ba0f2abfe6d70b /drivers | |
parent | 69395396a0a8866f30d59c66b7be1912ccb5d160 (diff) | |
download | linux-550a1ef18a53cae3d908edceca9daaafbedcf12f.tar.bz2 |
sh: use pr_fmt for clock framework, too.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sh/clk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/sh/clk.c b/drivers/sh/clk.c index 30ad6f04afb0..661a801126ad 100644 --- a/drivers/sh/clk.c +++ b/drivers/sh/clk.c @@ -14,6 +14,8 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. */ +#define pr_fmt(fmt) "clock: " fmt + #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> @@ -357,7 +359,7 @@ int clk_set_parent(struct clk *clk, struct clk *parent) if (ret == 0) { if (clk->ops->recalc) clk->rate = clk->ops->recalc(clk); - pr_debug("clock: set parent of %p to %p (new rate %ld)\n", + pr_debug("set parent of %p to %p (new rate %ld)\n", clk, clk->parent, clk->rate); propagate_rate(clk); } |