Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebdbcba0 authored by Linus Walleij's avatar Linus Walleij
Browse files

m68k: gpio: 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.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e0958405
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ static struct gpio_chip mcfgpio_chip = {

static int __init mcfgpio_sysinit(void)
{
	gpiochip_add(&mcfgpio_chip);
	gpiochip_add_data(&mcfgpio_chip, NULL);
	return subsys_system_register(&mcfgpio_subsys, NULL);
}