提交 828d6317 编写于 作者: B Baruch Siach 提交者: 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: NBaruch Siach <baruch@tkos.co.il>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 9385f35d
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册