From patchwork Wed Dec 9 13:35:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58084 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp672889lbb; Wed, 9 Dec 2015 05:36:05 -0800 (PST) X-Received: by 10.98.73.10 with SMTP id w10mr12977066pfa.164.1449668165193; Wed, 09 Dec 2015 05:36:05 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 70si12762016pfa.200.2015.12.09.05.36.04; Wed, 09 Dec 2015 05:36:05 -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 S1754555AbbLINgB (ORCPT + 4 others); Wed, 9 Dec 2015 08:36:01 -0500 Received: from mail-lf0-f53.google.com ([209.85.215.53]:36582 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754541AbbLINf7 (ORCPT ); Wed, 9 Dec 2015 08:35:59 -0500 Received: by lfs39 with SMTP id 39so34519634lfs.3 for ; Wed, 09 Dec 2015 05:35:58 -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=UO18a/+XcoW0UtdpHPicJXKULVMpSQV9zBHN1zUxDvs=; b=HoBOh3UInSbPwo/vhAu4i2VRdDbyiSE96KFwVKKH/PwboklR5bVB26sNB1vLvrieSK Gl3zVT7645JHzLeqIJDlOOK2YQqwHUzW4eI6Z1GmWZwIJ/oM7pDt+3jjwhtxauKdLjHE weNrUmPWm/2ecL4SslE54z6OMFml8LdR2fSrF9r/MPrJDFenJmlle9ZeFfGgyXOLNbWN AEVEJZuaMGutEm9chsr9NOezxGX1kUNtlG4jOMpy4/Q7GB1c8DJU0eZYiGEZ/vhzHjE6 d0h2xaAfOE8mSoDooEei7r+ZHEZdlgrZwRpqQaKsOLd23oRibFP3U+giddqZCS3SXlaP RApA== 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=UO18a/+XcoW0UtdpHPicJXKULVMpSQV9zBHN1zUxDvs=; b=NQ7VCO/Bz3/DPWVxBjn4olq4c6OCgBY7ruRQPG8fAq/EDiuEPSigVWxaWBaF8E3k3K jVrth/ukMKmrn7OF9EqAS+Bp1kX0KJGgp0DOA7P3XhxVgkwfhR/5752qoe6rRffrgaei hoGMwid4Rhu1FjUNYB8RujWxFzemGQ2gTQnLBLsMseTIHp9rJCcRG3sty7UnvfjA4PpO ug1/0EpjILnb+NpwzYlRjeeEgAsH0b8BdWb+JHmiVqXd38yvFXlGreRL81xpTrQWg033 rc5JPXEfYlUDNUVhfztHy5rSObaKtWXIjmd1lKZeeb81riRNn58EeNJ8WRM9lim+tcu7 HH6A== X-Gm-Message-State: ALoCoQkMRamZv+EZmTOTqtLC6rv2NEn/4kUv+P0KyoTWUjmCQ+fiJknh82jwuAx/LUbLHRB0BZHsfwytophc4PzsbTei5X9bcg== X-Received: by 10.25.162.65 with SMTP id l62mr2272283lfe.64.1449668158375; Wed, 09 Dec 2015 05:35:58 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id l5sm1417144lbc.36.2015.12.09.05.35.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:35:57 -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 128/182] ARM: simpad: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:35:55 +0100 Message-Id: <1449668155-3918-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-sa1100/simpad.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-sa1100/simpad.c b/arch/arm/mach-sa1100/simpad.c index 41e476e571d7..30c88b9917c1 100644 --- a/arch/arm/mach-sa1100/simpad.c +++ b/arch/arm/mach-sa1100/simpad.c @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include @@ -369,7 +369,7 @@ static int __init simpad_init(void) cs3_gpio.get = cs3_gpio_get; cs3_gpio.direction_input = cs3_gpio_direction_input; cs3_gpio.direction_output = cs3_gpio_direction_output; - ret = gpiochip_add(&cs3_gpio); + ret = gpiochip_add_data(&cs3_gpio, NULL); if (ret) printk(KERN_WARNING "simpad: Unable to register cs3 GPIO device");