Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Linus Walleij and committed by
Lee Jones
7ad07369 7d94352e

+1 -1
+1 -1
drivers/mfd/vexpress-sysreg.c
··· 202 202 bgpio_init(mmc_gpio_chip, &pdev->dev, 0x4, base + SYS_MCI, 203 203 NULL, NULL, NULL, NULL, 0); 204 204 mmc_gpio_chip->ngpio = 2; 205 - gpiochip_add(mmc_gpio_chip); 205 + gpiochip_add_data(mmc_gpio_chip, NULL); 206 206 207 207 return mfd_add_devices(&pdev->dev, PLATFORM_DEVID_AUTO, 208 208 vexpress_sysreg_cells,