From patchwork Thu Dec 10 17:52:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58235 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp648590lbb; Thu, 10 Dec 2015 09:52:23 -0800 (PST) X-Received: by 10.98.86.92 with SMTP id k89mr8740200pfb.111.1449769943754; Thu, 10 Dec 2015 09:52:23 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si21548798pfa.163.2015.12.10.09.52.23; Thu, 10 Dec 2015 09:52:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753568AbbLJRwU (ORCPT + 4 others); Thu, 10 Dec 2015 12:52:20 -0500 Received: from mail-lf0-f44.google.com ([209.85.215.44]:32982 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753118AbbLJRwR (ORCPT ); Thu, 10 Dec 2015 12:52:17 -0500 Received: by lfaz4 with SMTP id z4so62157714lfa.0 for ; Thu, 10 Dec 2015 09:52:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=VttpoQOJZnimkYYUlirrJy2RqZhqz4VFuo88jDtKrOk=; b=Wq1LCe7XSoj2cEWvy/SsGqY7/b0gOlM6kwNMpRME/cKlebt1NWrfDkcY8dAY30XmyF 7xPbpgy0Ijkd632BYammOUVKrv9bdPqu0ZPp0I/oFPKtZfdP8y8bil+glnrN6KUPNJSt jI3GRmiBVW2j2s/sMb9LdMpRRs20Hxspp2tIJI1x2tUcvltDXnSjEc+T7in7h7Ae0Ocm 3Pcj+xBUU4dKvd8j09T68LfHpnugiYZqbLxNUD2OCGGI0r/HF/jqqkLcw82MeXEegEgW klelbn+QaSk9yKHtXY2FuS05HVvzClx5PyyxDh8OTSeVHMm5Ula0MK8HFmtGluZdxCmm /J7w== 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; bh=VttpoQOJZnimkYYUlirrJy2RqZhqz4VFuo88jDtKrOk=; b=lmU065kbhL1Sdmwt6EFlJ0SYQWbMl0JCfyFSzgYtFrSY6hChEtBk2ZZmUWOn4l5Nh5 N1VtyxY0hWZKLmFqIKfbuTJCHogbxqUcwPAtgb6vfOyqqRG5qpHEg5qCBjv+S+GdH1nG 0ZSzEMINerKJbBVZeiam3JlFgoOqdVG0g3VPAX++GbvDV39V9ZdB72gbVuJxTnl1qbx3 21awznlIuMtpd1TLZ4VWZB+raG1MX2JjMFqBpqFze5RM/bUT2+0+XaQzR1oaWh2Ki1wt f84X5Job4THGUGnBlGoKupXJAbs/I04eja7B5DkToqYYLb24NSJYwL3Nf57EYHh/CvhV ckNg== X-Gm-Message-State: ALoCoQn9MvDvNRjKsjgLr9TE44HNMtVN4acYojIqIzxa3bQNxn3CkvSH9NMiU/Cx2xfsxhplx9IJEh7gRHUHhhXMqMMUPYrRiA== X-Received: by 10.25.165.141 with SMTP id o135mr5683038lfe.139.1449769935606; Thu, 10 Dec 2015 09:52:15 -0800 (PST) Received: from localhost.localdomain.localdomain (c-297471d5.01-192-6c756e10.cust.bredbandsbolaget.se. [213.113.116.41]) by smtp.gmail.com with ESMTPSA id p69sm2489265lfe.42.2015.12.10.09.52.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Dec 2015 09:52:14 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij , Yendapally Reddy Dhananjaya Reddy Subject: [PATCH] pinctrl: nsp-gpio: fix up parent attribute Date: Thu, 10 Dec 2015 18:52:10 +0100 Message-Id: <1449769930-8629-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The .dev field has been renamed .parent in the GPIO tree. Fix it up. Cc: Yendapally Reddy Dhananjaya Reddy Signed-off-by: Linus Walleij --- drivers/pinctrl/bcm/pinctrl-nsp-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c b/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c index 06b7aaf3548c..bb7891e786e3 100644 --- a/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c +++ b/drivers/pinctrl/bcm/pinctrl-nsp-gpio.c @@ -668,7 +668,7 @@ static int nsp_gpio_probe(struct platform_device *pdev) gc->can_sleep = false; gc->ngpio = val; gc->label = dev_name(dev); - gc->dev = dev; + gc->parent = dev; gc->of_node = dev->of_node; gc->request = nsp_gpio_request; gc->free = nsp_gpio_free;