From patchwork Wed Dec 9 13:48:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58125 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp679847lbb; Wed, 9 Dec 2015 05:48:40 -0800 (PST) X-Received: by 10.98.71.92 with SMTP id u89mr12873964pfa.143.1449668920639; Wed, 09 Dec 2015 05:48:40 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fj9si12884778pad.43.2015.12.09.05.48.39; Wed, 09 Dec 2015 05:48:40 -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 S1754606AbbLINsj (ORCPT + 4 others); Wed, 9 Dec 2015 08:48:39 -0500 Received: from mail-lf0-f41.google.com ([209.85.215.41]:33284 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754523AbbLINsi (ORCPT ); Wed, 9 Dec 2015 08:48:38 -0500 Received: by lfaz4 with SMTP id z4so34615175lfa.0 for ; Wed, 09 Dec 2015 05:48:37 -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=qrx+M97wrxcusVvvS/JhZiM1oaK3njmIv7i2p+1d70s=; b=TJLu5u3RmYohubZRWk3easFJ8lYagd073DySkKDQWazIqGeGrjGjX033LruOrz9z/5 8Ap/WO7q1KmAvaV/mGHv34THhKkQoFg5MF1Kz8mty9Rp6fwhRXZ2eNOhQWRWHHF8k7v0 BQ1B/yK3rjOoIrtlVhDTwouWV/clQDe2dXlpfbC0pqugs1ciAfZ/WV9Pb2b/36Vt+znW hS1MByzTaKlateln0K1I3kbGGiqqK1q3HBSGhQTqI1HDNrqtukntzRkd223PkXXTHx4v fQ9NTF0d9UfE4jLXWnAZSFKq15a7L0az8hYRrRpz3/fqWABpz49gRE4u38/RqbmfjrLM nnTQ== 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=qrx+M97wrxcusVvvS/JhZiM1oaK3njmIv7i2p+1d70s=; b=FG4sWOtYI5C8i16gsaqRPNz01dqeD9cLg4Ihjyh1zvPwbuc93h9pLfTB3IsOqrtGRW vDzV5De4lKraa+HRNNUY5xmrjGuHaoT54D0EowgPAf0ssWIG2T6OzZtlFrHN+Rh3mj5a Ds7l47IrL6LREL4+6IuLSa95+a8+ZSFCPgwF7FY5+fOFRHLjVBjnCdq0rXUQS4fYUwB8 U9u03mkjYiTrNgnvqYqWo2VZ7iYRo5ss0b/d41+8JUg8qbpAwUKPSIYqBW7Ks5tvrDkP WsrJB6gPBOFiBjzRNZ7LNH7YMCQah7bCkEktMqTprOHh28YyKn6p0x4tJ6PMw5UMM0az eM+A== X-Gm-Message-State: ALoCoQl/m1FdrmNifljdBGAb6oRJfvA+mvSgeBvodBKpB5crKDgHHEVmh6577z/xleCXNatnEqkKm1aPqRxaInMqOuwNPwZmfQ== X-Received: by 10.25.22.68 with SMTP id m65mr1893166lfi.10.1449668917258; Wed, 09 Dec 2015 05:48:37 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id zc2sm1436813lbb.40.2015.12.09.05.48.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:48:36 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Johan Hovold , Alexandre Courbot , Michael Welling , Markus Pargmann , Lee Jones Cc: Linus Walleij Subject: [PATCH 169/182] mfd: vexpress-sysreg: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:48:34 +0100 Message-Id: <1449668914-6545-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: Lee Jones Signed-off-by: Linus Walleij --- Lee please ACK this so I can take it through the GPIO tree. --- drivers/mfd/vexpress-sysreg.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 Acked-by: Lee Jones diff --git a/drivers/mfd/vexpress-sysreg.c b/drivers/mfd/vexpress-sysreg.c index 855c0204f09a..201a3ea2a9d3 100644 --- a/drivers/mfd/vexpress-sysreg.c +++ b/drivers/mfd/vexpress-sysreg.c @@ -202,7 +202,7 @@ static int vexpress_sysreg_probe(struct platform_device *pdev) bgpio_init(mmc_gpio_chip, &pdev->dev, 0x4, base + SYS_MCI, NULL, NULL, NULL, NULL, 0); mmc_gpio_chip->ngpio = 2; - gpiochip_add(mmc_gpio_chip); + gpiochip_add_data(mmc_gpio_chip, NULL); return mfd_add_devices(&pdev->dev, PLATFORM_DEVID_AUTO, vexpress_sysreg_cells,