git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio: Get rid of duplicate of_node assignment in the drivers
[sfrench/cifs-2.6.git]
/
drivers
/
gpio
/
gpio-ge.c
diff --git
a/drivers/gpio/gpio-ge.c
b/drivers/gpio/gpio-ge.c
index 636952769bc82bd251c31d51ea38821deed49b7a..f6a3de99f7dbaf8302d19c448290bfedc429a396 100644
(file)
--- a/
drivers/gpio/gpio-ge.c
+++ b/
drivers/gpio/gpio-ge.c
@@
-82,7
+82,6
@@
static int __init gef_gpio_probe(struct platform_device *pdev)
gc->base = -1;
gc->ngpio = (u16)(uintptr_t)of_device_get_match_data(&pdev->dev);
gc->of_gpio_n_cells = 2;
- gc->of_node = pdev->dev.of_node;
/* This function adds a memory mapped GPIO chip */
ret = devm_gpiochip_add_data(&pdev->dev, gc, NULL);