From: Masahiro Yamada Date: Thu, 28 May 2015 12:52:59 +0000 (+0900) Subject: pinctrl: fix confusing debug message in pinctrl_register_map() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e9236ff3d92ec326f29a20d86add10f1ff4e9b3;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 [also fixed %d -> %u] Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 291099d5cf51..b01ee7281130 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++) {