Revert "pinctrl: digicolor: add missing platform_set_drvdata() call"
authorBaruch Siach <baruch@tkos.co.il>
Sat, 18 Jun 2016 20:01:06 +0000 (23:01 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jun 2016 07:50:05 +0000 (09:50 +0200)
This reverts commit 8b2b3dcb343bf8cb62efc1bd6a9dbe850005e2ac.

Commit 546c6d79301 (pinctrl: digicolor: make it explicitly non-modular) removed
the platform_get_drvdata() call, so platform_set_drvdata() is no longer needed.

Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-digicolor.c

index aba3da5ee844f649d1f9b13fc5ae82f62abc2600..639a57ecc7c25c23890fc066f18ea37aa5d4c5b0 100644 (file)
@@ -332,8 +332,6 @@ static int dc_pinctrl_probe(struct platform_device *pdev)
                return PTR_ERR(pmap->pctl);
        }
 
-       platform_set_drvdata(pdev, pmap);
-
        return dc_gpiochip_add(pmap, pdev->dev.of_node);
 }