Commit 828d6317 authored by Baruch Siach's avatar Baruch Siach Committed by Linus Walleij

Revert "pinctrl: digicolor: add missing platform_set_drvdata() call"

This reverts commit 8b2b3dcb.

Commit 546c6d79 (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: default avatarBaruch Siach <baruch@tkos.co.il>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 9385f35d
...@@ -332,8 +332,6 @@ static int dc_pinctrl_probe(struct platform_device *pdev) ...@@ -332,8 +332,6 @@ static int dc_pinctrl_probe(struct platform_device *pdev)
return PTR_ERR(pmap->pctl); return PTR_ERR(pmap->pctl);
} }
platform_set_drvdata(pdev, pmap);
return dc_gpiochip_add(pmap, pdev->dev.of_node); return dc_gpiochip_add(pmap, pdev->dev.of_node);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment