From patchwork Wed Dec 9 13:35:47 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58083 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp672827lbb; Wed, 9 Dec 2015 05:36:00 -0800 (PST) X-Received: by 10.66.236.162 with SMTP id uv2mr7952954pac.101.1449668159903; Wed, 09 Dec 2015 05:35:59 -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.35.59; Wed, 09 Dec 2015 05:35:59 -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 S1754522AbbLINfz (ORCPT + 4 others); Wed, 9 Dec 2015 08:35:55 -0500 Received: from mail-lf0-f42.google.com ([209.85.215.42]:34793 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754496AbbLINfw (ORCPT ); Wed, 9 Dec 2015 08:35:52 -0500 Received: by lffu14 with SMTP id u14so34383288lff.1 for ; Wed, 09 Dec 2015 05:35:51 -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=Q0/afiT6FMyMTL+lf4RMnXkKxll/mUzaLq7ODzKc9mI=; b=R9QXNGZ4UlbKBfm2cJZv1DOJqLIiSNYD+lb/YUgngQAtnmR6J29/3T1Fex1qvxtG1P oCD7+s03miC2/c0VYbI/NyYtFKS7cR5ILgvDXVwmEhZBgtGqjqnIkLw4dLN2l0Db6YaE nBGQF96696pbZzDuLT8gAvEXcdrqa6LkmTvHs4HG+OEY8NnpdoACtkKMX/HsGGGtkQWZ SrdByDnoqlg8ziYs1fKtV9webjDS0EI7loeZVfIKsUYdjauOhxJ/3Ald+5JRWpS2vJJE ALdO4y9WrFVDp8WAFA83fkete7z+mhFChXZTMQRGycyKeJESusyhl2yi0H/xKJILINJM c2qg== 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=Q0/afiT6FMyMTL+lf4RMnXkKxll/mUzaLq7ODzKc9mI=; b=YnHTlF6nd+5eAk+csPJWS8yNurFzbSzhpFmEU48q6akHLqt9MRQbr43I5dfptw2bif jGxokEYL7zj3lby78hZEcawBZf2tY6wsrR8yTVFvzVF/0NY8r16qPPWyJ4PGcFAOPLJ2 S3CRVog+DCiCEmnAhOVkesgp/IjEbHBJqQn46boDkvLB/pjzCvBSx/rHnM5OtpAFC68E RbygNjzHu6jgLrf3xdket2sb9svHMCiT7XtNL11n6aUlEWNfVPzV0WIeWO4/B2BQ4pTo mB7Z1gxwfRFHOI48Wr2Nn+jpVl7N1OQUp2d4+JJPCTnVUCLQtU1ViD6iwv+SJYqjULko x2hA== X-Gm-Message-State: ALoCoQmt/AHbRF5gh8tk8DPjBwZ+IJQXKemlM34D97t9Wmhb6lozXW1z/VVxjR4It9v35vEMvtAmVtKYayrSwahpWURqHNegvA== X-Received: by 10.25.137.7 with SMTP id l7mr1819451lfd.63.1449668151067; Wed, 09 Dec 2015 05:35:51 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id s185sm1429581lfe.24.2015.12.09.05.35.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:35:50 -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 127/182] ARM: s3c24xx: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:35:47 +0100 Message-Id: <1449668147-3869-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-s3c24xx/mach-h1940.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/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c index 9f54300df4b3..7ed78619217c 100644 --- a/arch/arm/mach-s3c24xx/mach-h1940.c +++ b/arch/arm/mach-s3c24xx/mach-h1940.c @@ -664,7 +664,7 @@ static void __init h1940_map_io(void) /* Add latch gpio chip, set latch initial value */ h1940_latch_control(0, 0); - WARN_ON(gpiochip_add(&h1940_latch_gpiochip)); + WARN_ON(gpiochip_add_data(&h1940_latch_gpiochip, NULL)); } static void __init h1940_init_time(void)