diff options
author | Baruch Siach <baruch@tkos.co.il> | 2016-06-18 23:01:06 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-23 09:50:05 +0200 |
commit | 828d6317830296e4e99060801f0b929b8a919069 (patch) | |
tree | ef39cb957f5eb225d18a94db8b0f438d8781735d | |
parent | 9385f35d6426cabd8e35af271fcaf3d8bca40a94 (diff) | |
download | op-kernel-dev-828d6317830296e4e99060801f0b929b8a919069.zip op-kernel-dev-828d6317830296e4e99060801f0b929b8a919069.tar.gz |
Revert "pinctrl: digicolor: add missing platform_set_drvdata() call"
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>
-rw-r--r-- | drivers/pinctrl/pinctrl-digicolor.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-digicolor.c b/drivers/pinctrl/pinctrl-digicolor.c index aba3da5..639a57e 100644 --- a/drivers/pinctrl/pinctrl-digicolor.c +++ b/drivers/pinctrl/pinctrl-digicolor.c @@ -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); } |