sh: use pr_fmt for clock framework, too.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 13 Oct 2010 10:24:55 +0000 (19:24 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 13 Oct 2010 10:24:55 +0000 (19:24 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/clk.c

index 30ad6f04afb05e6fee5977aaea207ba75c7be2ec..661a801126ad934f78006f28ac1e8f59243a916c 100644 (file)
@@ -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);
                }