USB: musb: da8xx: remove clock con_id
authorDavid Lechner <david@lechnology.com>
Sun, 7 Jan 2018 03:19:50 +0000 (21:19 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Jan 2018 15:15:19 +0000 (16:15 +0100)
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: David Lechner <david@lechnology.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/da8xx.c

index 6c036de63272b432b8b88255a2fd97db587187e6..b8295ce7c4fe8b8940eca53e4f16c0393e6f72e5 100644 (file)
@@ -520,7 +520,7 @@ static int da8xx_probe(struct platform_device *pdev)
        if (!glue)
                return -ENOMEM;
 
-       clk = devm_clk_get(&pdev->dev, "usb20");
+       clk = devm_clk_get(&pdev->dev, NULL);
        if (IS_ERR(clk)) {
                dev_err(&pdev->dev, "failed to get clock\n");
                return PTR_ERR(clk);