summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-12-08 14:03:48 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-02-19 09:51:43 +0100
commitebdbcba0d5bd94aedb89951e27e6ac6a396ac967 (patch)
tree30ea84178507b8f3c345d48447db939ad63ddf23 /arch/m68k
parente0958405bc5861b42fab41a11dbdd7ddabd8d4b6 (diff)
downloadop-kernel-dev-ebdbcba0d5bd94aedb89951e27e6ac6a396ac967.zip
op-kernel-dev-ebdbcba0d5bd94aedb89951e27e6ac6a396ac967.tar.gz
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: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/coldfire/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/coldfire/gpio.c b/arch/m68k/coldfire/gpio.c
index 37a83e2..8832083 100644
--- a/arch/m68k/coldfire/gpio.c
+++ b/arch/m68k/coldfire/gpio.c
@@ -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);
}
OpenPOWER on IntegriCloud