From patchwork Fri May 29 09:09:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 477666 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 2F11B1400A0 for ; Fri, 29 May 2015 19:09:36 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755558AbbE2JJf (ORCPT ); Fri, 29 May 2015 05:09:35 -0400 Received: from conuserg010.nifty.com ([202.248.44.36]:30008 "EHLO conuserg010-v.nifty.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754234AbbE2JJe (ORCPT ); Fri, 29 May 2015 05:09:34 -0400 Received: from beagle.diag.org (KD111237147159.au-net.ne.jp [111.237.147.159]) (authenticated) by conuserg010-v.nifty.com with ESMTP id t4T996PY013542; Fri, 29 May 2015 18:09:13 +0900 X-Nifty-SrcIP: [111.237.147.159] From: Masahiro Yamada To: linux-gpio@vger.kernel.org Cc: Masahiro Yamada , Linus Walleij , linux-kernel@vger.kernel.org Subject: [PATCH v2] pinctrl: fix confusing debug message in pinctrl_register_map() Date: Fri, 29 May 2015 18:09:17 +0900 Message-Id: <1432890557-19523-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org There are two types for pinctrl maps: pinmux and pinconfig. This debug message shows the number of maps with both types. The string "pinmux map" is not precise. Let's say "pinctrl map" instead. While we are here, fix the %d/%u mismatch too. Signed-off-by: Masahiro Yamada --- Changes in v2: - Fix %d/%u mismatch 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 18ee208..f3cf3a8 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++) {