瀏覽代碼

sh: use pr_fmt for clock framework, too.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 14 年之前
父節點
當前提交
550a1ef18a
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      drivers/sh/clk.c

+ 3 - 1
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);
 		}