瀏覽代碼

pinctrl: fix confusing debug message in pinctrl_register_map()

There are two types for pinctrl maps: pinmux and pinconfig
This debug message shows the number of maps of both types.
The string "pinmux map" is not precise.  Let's say "pinctrl map"
instead.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
[also fixed %d -> %u]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Masahiro Yamada 10 年之前
父節點
當前提交
7e9236ff3d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/pinctrl/core.c

+ 1 - 1
drivers/pinctrl/core.c

@@ -1115,7 +1115,7 @@ int pinctrl_register_map(struct pinctrl_map const *maps, unsigned num_maps,
 	int i, ret;
 	int i, ret;
 	struct pinctrl_maps *maps_node;
 	struct pinctrl_maps *maps_node;
 
 
-	pr_debug("add %d pinmux maps\n", num_maps);
+	pr_debug("add %u pinctrl maps\n", num_maps);
 
 
 	/* First sanity check the new mapping */
 	/* First sanity check the new mapping */
 	for (i = 0; i < num_maps; i++) {
 	for (i = 0; i < num_maps; i++) {