projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e095840
)
m68k: gpio: switch to gpiochip_add_data()
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 8 Dec 2015 13:03:48 +0000
(14:03 +0100)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/m68k/coldfire/gpio.c
b/arch/m68k/coldfire/gpio.c
index 37a83e27c7a6c8ea15c6c885ae71ca59c7c7ad8d..8832083e1cb88f6573c8a1ced391cb3d7aa1c527 100644
(file)
--- 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);
}