blob: 17fcd47ce06da4fc3cfdef615e8f179ef2e9916e [file] [log] [blame]
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(-)
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -1125,7 +1125,7 @@ int pinctrl_register_map(struct pinctrl_
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++) {