Message ID | 20170811154236.12891-5-stephen.boyd@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 CE3EA60325 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Aug 2017 15:49:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF8352857E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Aug 2017 15:49:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4704285EB; Fri, 11 Aug 2017 15:49:13 +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=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 410E72857E for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 11 Aug 2017 15:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=oB5yfWKcoR8Q84lyEMAxoavSOUr1OrNXzVt9kxPwzYU=; b=ASF3FcGKmY9gTgd/J40W9Ny+Sv v1S34NTw7TVD1fm6aHA3oM880RcW7jX3xZ25lt+s5U8dvYotR76KPftnSsHS0al0inYBvTvUeomMe wpIm497w3qRydKtBMsG4NhuinB1x4BU1c5qy3Q1WWxofMMTQIQIiWjpKdufGmqn9AlhhgNi4w2LsK 7L6QB1NIZ/6QtYsjc7fbyQKVQSlOAQqSJ3ibNfdzd+yKd81nQz6RvPD5P14mJOxEkDAWgf3joucnM tHT4N9cKafhc+SFxqZ8J1UKCFTOvm+Ow9AXn1wFOzhARzcI96u8VflUQ8irvZgeW4IbD55vhXFEld nTWW4qEQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dgCBT-0006t1-Ke; Fri, 11 Aug 2017 15:49:11 +0000 Received: from mail-pg0-x233.google.com ([2607:f8b0:400e:c05::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dgC5Y-0001pB-8N for linux-arm-kernel@lists.infradead.org; Fri, 11 Aug 2017 15:43:08 +0000 Received: by mail-pg0-x233.google.com with SMTP id u185so17008277pgb.1 for <linux-arm-kernel@lists.infradead.org>; Fri, 11 Aug 2017 08:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tf6TQk7zcKmNRXS2oIbD00NVHnst7iewPT30yBzzAO8=; b=VfLQXw1ENNn7aKvx4yJP1lbByo3ZFJVC0m1gJy4cYWVo7+zXPwjDMC7A/bp+0Khjf5 jqdmwABi+YOgaeJqEOOId5NV4iurFSDNB06Zz8vmN6iKyXXd4UK7eHVPJ02Ntli2lOjD CjuM8fLR9xHMQ++awaHjC6sR/O37NGe1YAES0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tf6TQk7zcKmNRXS2oIbD00NVHnst7iewPT30yBzzAO8=; b=as8Ra0ccyY/NvSsP5RFzTAnXNhzvpT2nfno3IQXlh50PKmYvwHCaflbab26UsQj1BM TmY0ZzxWpv4QfwtvH/LwwvI4tgCe17S3KU2RXz4bqNbbJDfWXgZ+m1pZRONFJUfqTBME pXeLvyKNWD8Qx37bWE7+sPl0PLEvoRHgAk2psAQ51kecDf9zwjT5a0n/tYsxhQMaMCaW /ZMxNGMP13OKQfZDVLa3z6eoKL1JZsC4/PFwmahZnrOSYpZQyqayzqLLK83agnhJb7mA EoKy47qFFuo+i15AB0fEuevklUoD2y5grEFIGc1646ncpjyQpGzUF81mwqh3Xr8+BNts chhw== X-Gm-Message-State: AHYfb5jfi/1dE89/bNLedOuq7zUjqPJSUEV9p9nfHXW2pahcKOND4Y1S gwOgRI/1piwI+kUZ X-Received: by 10.99.174.78 with SMTP id e14mr15409141pgp.75.1502466163666; Fri, 11 Aug 2017 08:42:43 -0700 (PDT) Received: from localhost.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id a63sm2351071pfc.165.2017.08.11.08.42.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Aug 2017 08:42:42 -0700 (PDT) From: Stephen Boyd <stephen.boyd@linaro.org> To: Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com> Subject: [PATCH v4 4/4] gpio: Support gpio nexus dt bindings Date: Fri, 11 Aug 2017 08:42:36 -0700 Message-Id: <20170811154236.12891-5-stephen.boyd@linaro.org> X-Mailer: git-send-email 2.14.GIT In-Reply-To: <20170811154236.12891-1-stephen.boyd@linaro.org> References: <20170811154236.12891-1-stephen.boyd@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170811_084304_420421_33CEB980 X-CRM114-Status: GOOD ( 12.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, devicetree-spec@vger.kernel.org, Pantelis Antoniou <pantelis.antoniou@konsulko.com>, linux-kernel@vger.kernel.org, Russell King - ARM Linux <linux@armlinux.org.uk>, Mark Brown <broonie@kernel.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c index 54ce8dc58ad0..0d968c758129 100644 --- a/drivers/gpio/gpiolib-of.c +++ b/drivers/gpio/gpiolib-of.c @@ -75,8 +75,8 @@ struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, struct gpio_desc *desc; int ret; - ret = of_parse_phandle_with_args(np, propname, "#gpio-cells", index, - &gpiospec); + ret = of_parse_phandle_with_args_map(np, propname, "gpio", index, + &gpiospec); if (ret) { pr_debug("%s: can't parse '%s' property of node '%s[%d]'\n", __func__, propname, np->full_name, index);