From patchwork Wed Dec 9 13:35:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58080 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp672495lbb; Wed, 9 Dec 2015 05:35:23 -0800 (PST) X-Received: by 10.98.89.196 with SMTP id k65mr13025093pfj.12.1449668123524; Wed, 09 Dec 2015 05:35:23 -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.23; Wed, 09 Dec 2015 05:35: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 S1754292AbbLINfW (ORCPT + 4 others); Wed, 9 Dec 2015 08:35:22 -0500 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36255 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754284AbbLINfW (ORCPT ); Wed, 9 Dec 2015 08:35:22 -0500 Received: by lfs39 with SMTP id 39so34507875lfs.3 for ; Wed, 09 Dec 2015 05:35:21 -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=KVxfUBQTF7VOt3oVtoTsSDxWqUbpjnvFiAxf91n9lpA=; b=rfPdhLz6OYsJILwcz1ptfrBsTULIC79MQ4jn2hLq2akf2kjbqqCgmbwgHABKIHiW2H uNJMHWk43rXhPBuLjsi4PtQJ07qSz50UE0HrHZL0iQ6Qpo/yGJJj0gu0pnj2QyaM2jMZ Y8OwWRMIbRpKtvRsv4ulcblfg2L2oOdBpocT4fvGDr3Yo5qdHcGGAQfzqf+FBUUNU7+j 62/UqqA0pM1AGHXOFtuBZRLMDNH69KIP+pCuPM7M/fv82E6lpJWN7gAOKmqCAt50TwBX hffa3U/6gXiV6iahajEp3I9PbYw3vrpiwpGRLS++eydM3BOMFaRKqG4o0yFngijjd0zZ GqYA== 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=KVxfUBQTF7VOt3oVtoTsSDxWqUbpjnvFiAxf91n9lpA=; b=jmuBLuOLjQcze2e+E2ARky1Ze6WEVo3idaJv/iBMIKO3rqpROWMrLJaCxLfkByh6aB N/w+LHzPWTUKS+5TTKRqjWvx7EyKGpDZrqItO4WOp5FacnQNusFoXGlFkt2bh5lK/0CM ZZ/aZrMEK89WkaHcWevyX/uNbgpUPpp76sE5dpHHvHSUc4p+a2shf1GOUCeOsndEyoVf Tpd2rBpoSSUmY8rgSA3xcwd4sfd+wha6/dP5h8n++Tb/V70fdd2dl0xglaPwtx7mA6oC KVWjNER/lYbA8dar/QFD7IKWAXvXdbFwOFr9V/s6i0RSrEe7O0ICpFrpRfmF/L0Y4YFw SBVg== X-Gm-Message-State: ALoCoQkgDqIH6HEMoV50hUppP4byDiJKpV6JshDCnFVDnTzsYn8hnLYQ5dVZhf8q240JAz4XNafkc3XqakKULHpfXyFREZCCmA== X-Received: by 10.25.40.205 with SMTP id o196mr2326214lfo.116.1449668121012; Wed, 09 Dec 2015 05:35:21 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id g7sm1434450lfi.27.2015.12.09.05.35.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:35:20 -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 124/182] ARM: gemini: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:35:16 +0100 Message-Id: <1449668116-3728-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-gemini/gpio.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-gemini/gpio.c b/arch/arm/mach-gemini/gpio.c index 2478d9f4d92d..469a76ea0459 100644 --- a/arch/arm/mach-gemini/gpio.c +++ b/arch/arm/mach-gemini/gpio.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include @@ -227,5 +227,5 @@ void __init gemini_gpio_init(void) (void *)i); } - BUG_ON(gpiochip_add(&gemini_gpio_chip)); + BUG_ON(gpiochip_add_data(&gemini_gpio_chip, NULL)); }