projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8937cb6
)
gpio/da9052: remove a redundant assignment for gpio->da9052
author
Axel Lin
<axel.lin@gmail.com>
Mon, 11 Jul 2011 00:53:38 +0000
(08:53 +0800)
committer
Grant Likely
<grant.likely@secretlab.ca>
Thu, 14 Jul 2011 03:41:53 +0000
(12:41 +0900)
We just set it twice in da9052_gpio_probe.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-da9052.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-da9052.c
b/drivers/gpio/gpio-da9052.c
index c23761f42199e708b3c6816ad5d4a13456047562..038f5eb8b13d0ce2ff508fb31facd4619f64dcb1 100644
(file)
--- a/
drivers/gpio/gpio-da9052.c
+++ b/
drivers/gpio/gpio-da9052.c
@@
-219,7
+219,6
@@
static int __devinit da9052_gpio_probe(struct platform_device *pdev)
gpio->da9052 = dev_get_drvdata(pdev->dev.parent);
pdata = gpio->da9052->dev->platform_data;
- gpio->da9052 = dev_get_drvdata(pdev->dev.parent);
gpio->gp = reference_gp;
if (pdata && pdata->gpio_base)
gpio->gp.base = pdata->gpio_base;