Commit 7ad07369 authored by Linus Walleij's avatar Linus Walleij Committed by Lee Jones
Browse files

mfd: vexpress-sysreg: Switch to gpiochip_add_data()



We're planning to remove the gpiochip_add() function to swith
to gpiochip_add_data() with NULL for data argument.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 7d94352e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,