From patchwork Wed Dec 9 13:35:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58082 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp672694lbb; Wed, 9 Dec 2015 05:35:46 -0800 (PST) X-Received: by 10.66.148.167 with SMTP id tt7mr8121446pab.62.1449668146136; Wed, 09 Dec 2015 05:35:46 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id nx14si12797123pab.69.2015.12.09.05.35.45; Wed, 09 Dec 2015 05:35:46 -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 S1754149AbbLINfp (ORCPT + 4 others); Wed, 9 Dec 2015 08:35:45 -0500 Received: from mail-lb0-f173.google.com ([209.85.217.173]:34981 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753317AbbLINfp (ORCPT ); Wed, 9 Dec 2015 08:35:45 -0500 Received: by lbpu9 with SMTP id u9so29886066lbp.2 for ; Wed, 09 Dec 2015 05:35:43 -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=zSk8PLsT7UUbXU8d5KXOV4oLiDwYb9k4OnlpbOVqiZM=; b=UdPJi2BXGWcfOW6U5KDzT6TzJlzOvuaWLidY5sldBWGPCnY+MCSE0NQ3YSLFaJFpDL Ra6HN5vhP1k7eHKvhz7bC2JsVTl709NWta5+4cXarI8/bju6Ti60gfeYne7KyYciX29O jOm5Jd9E+/6/9MbCTwB0+H+cXi/A/k1BSfliRlyvupo6+vgc2UVLZvnTUx+9GFyALuzv D1USCMG1UQiZF2lOLiozwFHb2e1MU6fhbUeWRwUdW2pLw4cALm0dzbTi9ft6oAkmnNEH eQzcjudRLoJQiZdg+0NkbCBxChIe43hFXSLBrshsSTRJJl4eJZQ5VaY3w4wHKx2sWBNk s9fg== 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=zSk8PLsT7UUbXU8d5KXOV4oLiDwYb9k4OnlpbOVqiZM=; b=AmQN3QG0jI0cQlELQRn81h8ZgHmRAsL8K/OZgw8D47aoKK9K+m+IpXwb1fHsvR4kF2 InlCdwrx9+MC1cZTaf691G++ZUONURlB+KBkPzPRWYO4+FuQi9etZPhvii0u9+lpyZWG Oe4FnSzKMA2cf60twBgLfBRMKQF5nLSO7XhGesVU4yqgSY68Y7BUjiIRDTmPKVKzdcjn q4SYcW6VWO/qe4Ew4fb3zEiKuIv5MKSH6bOaeunSX3QxzOn5ikgiQY4NI26LlLg+wQKh uKBXi0jKjg+PIbgI0u5u5y56Wb+Zgl1FJeYi5H2+aPH4H3U/h0zJOwm1sBLJJVV5acPI nCzw== X-Gm-Message-State: ALoCoQl1B+j1d5bEaqNmWyn4ME4MYY3R3EhG9hq0UobigLQWKShIG0n8zk9qUyxzYVzbj5Yn6InJ4lmz0zYP7ZGfWX8bGsWn3Q== X-Received: by 10.112.219.197 with SMTP id pq5mr2101240lbc.73.1449668143611; Wed, 09 Dec 2015 05:35:43 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id s7sm1429396lbo.30.2015.12.09.05.35.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:35:42 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Johan Hovold , Alexandre Courbot , Michael Welling , Markus Pargmann , arm@kernel.org Cc: Linus Walleij Subject: [PATCH 126/182] ARM: ixp4xx: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:35:38 +0100 Message-Id: <1449668138-3822-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 We're planning to remove the gpiochip_add() function to swith to gpiochip_add_data() with NULL for data argument. Cc: arm@kernel.org Signed-off-by: Linus Walleij --- ARM SoC guys: please ACK this so I can take it through the GPIO tree. --- arch/arm/mach-ixp4xx/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 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/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 1cb6f2f02880..26874f608ca9 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include @@ -461,7 +461,7 @@ void __init ixp4xx_sys_init(void) platform_add_devices(ixp4xx_devices, ARRAY_SIZE(ixp4xx_devices)); - gpiochip_add(&ixp4xx_gpio_chip); + gpiochip_add_data(&ixp4xx_gpio_chip, NULL); if (cpu_is_ixp46x()) { int region;