m68k: gpio: switch to gpiochip_add_data()
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 13:03:48 +0000 (14:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 19 Feb 2016 08:51:43 +0000 (09:51 +0100)
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: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/m68k/coldfire/gpio.c

index 37a83e27c7a6c8ea15c6c885ae71ca59c7c7ad8d..8832083e1cb88f6573c8a1ced391cb3d7aa1c527 100644 (file)
@@ -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);
 }
 
This page took 0.026517 seconds and 5 git commands to generate.