From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754657AbcDKLt1 (ORCPT ); Mon, 11 Apr 2016 07:49:27 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:32857 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754613AbcDKLtS (ORCPT ); Mon, 11 Apr 2016 07:49:18 -0400 Date: Mon, 11 Apr 2016 12:49:13 +0100 From: Lee Jones To: Linus Walleij Cc: Samuel Ortiz , linux-kernel@vger.kernel.org Subject: Re: [PATCH 9/9] mfd: vexpress-sysreg: Switch to gpiochip_add_data() Message-ID: <20160411114913.GR8094@x1> References: <1459327689-12786-1-git-send-email-linus.walleij@linaro.org> <1459327689-12786-10-git-send-email-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1459327689-12786-10-git-send-email-linus.walleij@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Mar 2016, Linus Walleij wrote: > We're planning to remove the gpiochip_add() function to swith > to gpiochip_add_data() with NULL for data argument. > > Acked-by: Lee Jones > Signed-off-by: Linus Walleij > --- > drivers/mfd/vexpress-sysreg.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. > 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, -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog