| From 02fbbbf691da07c819b2999ab3e30f55c63a8dcc Mon Sep 17 00:00:00 2001 |
| From: Masahiro Yamada <yamada.masahiro@socionext.com> |
| Date: Thu, 28 May 2015 21:52:59 +0900 |
| Subject: [PATCH 066/129] 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> |
| |
| (cherry picked from commit 7e9236ff3d92ec326f29a20d86add10f1ff4e9b3) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| drivers/pinctrl/core.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c |
| index 5b4e6897af22..700935097d03 100644 |
| --- a/drivers/pinctrl/core.c |
| +++ b/drivers/pinctrl/core.c |
| @@ -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++) { |
| -- |
| 2.6.2 |
| |