Skip to content

Commit e7f4936

Browse files
dlechgregkh
authored andcommitted
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>
1 parent 985583a commit e7f4936

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/usb/host/ohci-da8xx.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ static int ohci_da8xx_probe(struct platform_device *pdev)
413413
da8xx_ohci = to_da8xx_ohci(hcd);
414414
da8xx_ohci->hcd = hcd;
415415

416-
da8xx_ohci->usb11_clk = devm_clk_get(&pdev->dev, "usb11");
416+
da8xx_ohci->usb11_clk = devm_clk_get(&pdev->dev, NULL);
417417
if (IS_ERR(da8xx_ohci->usb11_clk)) {
418418
error = PTR_ERR(da8xx_ohci->usb11_clk);
419419
if (error != -EPROBE_DEFER)

0 commit comments

Comments
 (0)