summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-01-07 04:19:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-09 16:15:19 +0100
commite7f4936047705ef4375aecc78c9e4143e11bc002 (patch)
tree5c5ba7de285c2c71d93b62a3da74b9de43461eb8 /drivers/usb/host
parentUSB: musb: da8xx: remove clock con_id (diff)
downloadlinux-e7f4936047705ef4375aecc78c9e4143e11bc002.tar.xz
linux-e7f4936047705ef4375aecc78c9e4143e11bc002.zip
USB: ohci: da8xx: remove clk con_id
The ohci-da8xx device only has one clock, so a con_id is not needed, 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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ohci-da8xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c
index 0c507a0cfe1f..a55cbba40a5a 100644
--- a/drivers/usb/host/ohci-da8xx.c
+++ b/drivers/usb/host/ohci-da8xx.c
@@ -413,7 +413,7 @@ static int ohci_da8xx_probe(struct platform_device *pdev)
da8xx_ohci = to_da8xx_ohci(hcd);
da8xx_ohci->hcd = hcd;
- da8xx_ohci->usb11_clk = devm_clk_get(&pdev->dev, "usb11");
+ da8xx_ohci->usb11_clk = devm_clk_get(&pdev->dev, NULL);
if (IS_ERR(da8xx_ohci->usb11_clk)) {
error = PTR_ERR(da8xx_ohci->usb11_clk);
if (error != -EPROBE_DEFER)