mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-06 02:39:06 -05:00
gpio/da9052: remove a redundant assignment for gpio->da9052
We just set it twice in da9052_gpio_probe. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
8937cb602b
commit
cd27918dc9
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue