OSDN Git Service

pinctrl: fix confusing debug message in pinctrl_register_map()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 28 May 2015 12:52:59 +0000 (21:52 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Jun 2015 11:32:20 +0000 (13:32 +0200)
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>
drivers/pinctrl/core.c

index 291099d..b01ee72 100644 (file)
@@ -1115,7 +1115,7 @@ int pinctrl_register_map(struct pinctrl_map const *maps, unsigned num_maps,
        int i, ret;
        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 */
        for (i = 0; i < num_maps; i++) {