Re: [PATCH] pinctrl: fix confusing debug message in pinctrl_register_map()

From: Joe Perches
Date: Thu May 28 2015 - 14:30:22 EST


On Thu, 2015-05-28 at 21:52 +0900, Masahiro Yamada wrote:
> 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.
[]
> diff --git 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 %d pinctrl maps\n", num_maps);

You might want to fix the %d/%u mismatch too


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/