提交 3a7f520e 编写于 作者: L Laurent Pinchart 提交者: Linus Walleij

sh-pfc: Remove support for platform data

Platform data isn't used, support can thus be removed.
Signed-off-by: NLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: NHeiko Stuebner <heiko@sntech.de>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 c8f50e86
...@@ -354,8 +354,7 @@ static int sh_pfc_probe(struct platform_device *pdev) ...@@ -354,8 +354,7 @@ static int sh_pfc_probe(struct platform_device *pdev)
struct sh_pfc *pfc; struct sh_pfc *pfc;
int ret; int ret;
info = pdev->id_entry->driver_data info = (void *)pdev->id_entry->driver_data;
? (void *)pdev->id_entry->driver_data : pdev->dev.platform_data;
if (info == NULL) if (info == NULL)
return -ENODEV; return -ENODEV;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册