提交 985583a6 编写于 作者: D David Lechner 提交者: Greg Kroah-Hartman

USB: musb: da8xx: remove clock con_id

There is only one clock for the DA8xx MUSB device, so we don't need the
con_id, so remove it. This way we don't have to add an unnecessary
property to the device tree bindings for the clock.
Signed-off-by: NDavid Lechner <david@lechnology.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f1faf88c
...@@ -520,7 +520,7 @@ static int da8xx_probe(struct platform_device *pdev) ...@@ -520,7 +520,7 @@ static int da8xx_probe(struct platform_device *pdev)
if (!glue) if (!glue)
return -ENOMEM; return -ENOMEM;
clk = devm_clk_get(&pdev->dev, "usb20"); clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(clk)) { if (IS_ERR(clk)) {
dev_err(&pdev->dev, "failed to get clock\n"); dev_err(&pdev->dev, "failed to get clock\n");
return PTR_ERR(clk); return PTR_ERR(clk);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册