From patchwork Wed Nov 9 14:54:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Haslam X-Patchwork-Id: 9419553 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7612060512 for ; Wed, 9 Nov 2016 14:54:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68C842891A for ; Wed, 9 Nov 2016 14:54:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D7AF2912A; Wed, 9 Nov 2016 14:54:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF9522891A for ; Wed, 9 Nov 2016 14:54:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932398AbcKIOyd (ORCPT ); Wed, 9 Nov 2016 09:54:33 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:38466 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753299AbcKIOyG (ORCPT ); Wed, 9 Nov 2016 09:54:06 -0500 Received: by mail-wm0-f51.google.com with SMTP id f82so247158004wmf.1 for ; Wed, 09 Nov 2016 06:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YaUjkZIHDrKRnXeZVM3GEx1vUNRWFVrVv2vzN3vh7+g=; b=WzTLsxp3GGv+keT8FwXCBDkpaSKIIoscPV36Bo6VEprPi5fvKwh/lZiZzoDYCv5u26 5oWwRcK5BM+LMzV0HVEv/LTg2gPh/WLVN9ic7f1dqJUS11J5eSjqmH/iIOjWtmu42ROH ZiVSndv5Hu7g2c4CW8ZZHw8WJmkQDS29+KesuGm6NNy5ERRDYZSCJYvK18kSK9kfm55I H8QxdSlCDfqKXYI548SW1lLsxbBb+G+ZO6JcTxzER8AvvbDWxHlsF1uBeXEsPCej2TiL 3Y/Ujr0Q+vlWKdlRHuMEl0ewVYTmvUZi9IC7SdI7vUDq4giE5yT9kOTtk0FiLXVf43I4 Gl/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YaUjkZIHDrKRnXeZVM3GEx1vUNRWFVrVv2vzN3vh7+g=; b=DYDBwZbzNmITQEuo6Ol3DT7bVpuCzucp2P9elY3WwyET5OkRU+AAGFwONA6sTyMOc7 zK5YX5d6SGmz690VgeMkHQqHQ6bLpoNCEuSg7hAfMXjYLUR3EFKPAbWE9VtbLs6PZUw9 o375QnKyLlJ71crANlgsLcUJS/MG5AJtxK3xvSc3+EuoVN3PxfWmrxBwqODEFFT6MzDV E7x+QUVHzDDsqremsUgGuK80Snu8W6P3nTBDmQHP4hT/zEAHcuXWTCGFobu4ZrdT5VX0 2afLvtzEFOkVD2n8h3HYgX/dx+f3DxP44DHj0oADz3Q0qn6+oC3hSy6MlTJHb3zg9+sU bgDw== X-Gm-Message-State: ABUngvedhtfY7gSAALPsqfUB+lwuUfOQg7xbKKlFFKrTipce4RaTzP5NUsZOyi2gtLPJsQX0 X-Received: by 10.28.0.210 with SMTP id 201mr1757705wma.49.1478703245400; Wed, 09 Nov 2016 06:54:05 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id hb5sm43445381wjc.5.2016.11.09.06.54.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Nov 2016 06:54:05 -0800 (PST) From: Axel Haslam To: tony@atomide.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, khilman@baylibre.com, nsekhar@ti.com Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Axel Haslam Subject: [PATCH v2 2/2] pinctrl: single: search for the bits property when parsing bits Date: Wed, 9 Nov 2016 15:54:01 +0100 Message-Id: <20161109145401.25327-3-ahaslam@baylibre.com> X-Mailer: git-send-email 2.10.1.502.g6598894 In-Reply-To: <20161109145401.25327-1-ahaslam@baylibre.com> References: <20161109145401.25327-1-ahaslam@baylibre.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The pcs_parse_bits_in_pinctrl_entry function should search for the "pinctrl-single,bits" and not "pinctrl-single,pins" Signed-off-by: Axel Haslam --- drivers/pinctrl/pinctrl-single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index f36a9f1..2b196e5 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c @@ -1223,7 +1223,7 @@ static int pcs_parse_bits_in_pinctrl_entry(struct pcs_device *pcs, unsigned *num_maps, const char **pgnames) { - const char *name = "pinctrl-single,pins"; + const char *name = "pinctrl-single,bits"; struct pcs_func_vals *vals; int rows, *pins, found = 0, res = -ENOMEM, i; int npins_in_row;