From patchwork Fri Dec 4 13:15:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 57706 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp544572lbb; Fri, 4 Dec 2015 05:15:28 -0800 (PST) X-Received: by 10.98.0.140 with SMTP id 134mr21393316pfa.6.1449234926707; Fri, 04 Dec 2015 05:15:26 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zm10si19427951pac.26.2015.12.04.05.15.26; Fri, 04 Dec 2015 05:15:26 -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 S1752120AbbLDNP0 (ORCPT + 4 others); Fri, 4 Dec 2015 08:15:26 -0500 Received: from mail-lb0-f182.google.com ([209.85.217.182]:34941 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751699AbbLDNPZ (ORCPT ); Fri, 4 Dec 2015 08:15:25 -0500 Received: by lbbed20 with SMTP id ed20so5862337lbb.2 for ; Fri, 04 Dec 2015 05:15:24 -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=PKn8OFLfIAMfex/0QP4mxDt0HF/pBO03pG5+it7Zd5U=; b=jfFQvOf0X3UY5d46TKvGfkLjL93b3rfu+NkKkhOXPPKPUtnm7BiANg8MjVLGu9TyKC nCeaZoVGbDiGqKDGffuEMG52iEM+FLjaGENRw9MXsakq4k8w/btM5Z2Hq3dMrTV9Xw+Y qWNGWaR3k3uLsgdZ4CfWq7WuaKV2vNbnVJLKFJuMv1ApwcrqNeglk8BmiSndJ1I/uQNI 4RGcQDP5iJMoxzgFIEU1+dM4c1VJCvMNhiOYRStbV0WMkHXBxgaPV9ZwRVgkaYGeFPlp TcxbClF/OXkDUOuTSC0r6PVzDOMX42Xxz/KCPCYh3E5gPRL9FDVO0oIyh+UJgLIMwVJL lLGw== 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=PKn8OFLfIAMfex/0QP4mxDt0HF/pBO03pG5+it7Zd5U=; b=Jnc+WEruNtxOX9LExpiFMGomWk5mqwLuTHfzAnOXFA2Mi7M9JW4zwYiik+4TqBxSm1 BiuW0tV7hIUmAVG2Yeqich6ljaMmSR23ItM4WiTSGharfi5fgAkH2r4N66QbPip5WvXw jdle3YVEHZzuyfqph6MmARZ+Mvn8GnzNxWhrKmYMnpjiHCChFB7H5WwgjXRAjTMkUtIT toYXnz7a/nqL/lAxDgKFDe71Tp/wCoYrfn0aM+wAeDGZUXFDk/CCwW+aQSyqt/4pX64J Wb37i2ICfEUOdlk8vtW3cjmy9kEfHvpaOnkHOXAPwn9MI7GszfHotXDAhsj6lenPCxa/ rD4g== X-Gm-Message-State: ALoCoQkmh2JeJQ48JduS1ZsdSOe63V3j12sB1eE26QXZmaCpIje95dKkq06GwPG5Iqqym8I1Ofw3 X-Received: by 10.112.173.134 with SMTP id bk6mr8076494lbc.34.1449234924150; Fri, 04 Dec 2015 05:15:24 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 102sm2313821lft.21.2015.12.04.05.15.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Dec 2015 05:15:23 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Alexandre Courbot Cc: Linus Walleij Subject: [PATCH] gpio: davinci: fix missed parent conversion Date: Fri, 4 Dec 2015 14:15:20 +0100 Message-Id: <1449234920-27375-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 I missed to convert this driver properly to use .parent to point to the parent device. ARMv7 multiplatform would not compile. Signed-off-by: Linus Walleij --- drivers/gpio/gpio-davinci.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/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c index 9fd32f76ffa7..65ebaef935e1 100644 --- a/drivers/gpio/gpio-davinci.c +++ b/drivers/gpio/gpio-davinci.c @@ -254,7 +254,7 @@ static int davinci_gpio_probe(struct platform_device *pdev) #ifdef CONFIG_OF_GPIO chips[i].chip.of_gpio_n_cells = 2; chips[i].chip.of_xlate = davinci_gpio_of_xlate; - chips[i].chip.dev = dev; + chips[i].chip.parent = dev; chips[i].chip.of_node = dev->of_node; #endif spin_lock_init(&chips[i].lock);