projects
/
GitHub
/
LineageOS
/
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:
7d94352
)
mfd: vexpress-sysreg: Switch to gpiochip_add_data()
author
Linus Walleij
<linus.walleij@linaro.org>
Wed, 30 Mar 2016 08:48:09 +0000
(10:48 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 19 Apr 2016 06:59:06 +0000
(07:59 +0100)
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>
drivers/mfd/vexpress-sysreg.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/vexpress-sysreg.c
b/drivers/mfd/vexpress-sysreg.c
index 855c0204f09ae50b4986c13fb54bbbb601b6bc0f..201a3ea2a9d3045eaabf961c9db15d44aa340c8e 100644
(file)
--- a/
drivers/mfd/vexpress-sysreg.c
+++ b/
drivers/mfd/vexpress-sysreg.c
@@
-202,7
+202,7
@@
static int vexpress_sysreg_probe(struct platform_device *pdev)
bgpio_init(mmc_gpio_chip, &pdev->dev, 0x4, base + SYS_MCI,
NULL, NULL, NULL, NULL, 0);
mmc_gpio_chip->ngpio = 2;
- gpiochip_add
(mmc_gpio_chip
);
+ gpiochip_add
_data(mmc_gpio_chip, NULL
);
return mfd_add_devices(&pdev->dev, PLATFORM_DEVID_AUTO,
vexpress_sysreg_cells,