From cd27918dc9d2b730fbb898ff075d4fbfb7f674aa Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Mon, 11 Jul 2011 08:53:38 +0800 Subject: [PATCH] gpio/da9052: remove a redundant assignment for gpio->da9052 We just set it twice in da9052_gpio_probe. Signed-off-by: Axel Lin Signed-off-by: Grant Likely --- drivers/gpio/gpio-da9052.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c index c23761f42199..038f5eb8b13d 100644 --- 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; -- 2.30.2