mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[ARM] pxa: don't pass a consumer clock name for devices with unique clocks
Where devices only have one consumer, passing a consumer clock ID has no real benefit. Remove it. Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
8c3abc7d90
commit
e0d8b13ae1
12 changed files with 12 additions and 12 deletions
|
|
@ -2145,7 +2145,7 @@ static int __init pxa25x_udc_probe(struct platform_device *pdev)
|
|||
if (irq < 0)
|
||||
return -ENODEV;
|
||||
|
||||
dev->clk = clk_get(&pdev->dev, "UDCCLK");
|
||||
dev->clk = clk_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(dev->clk)) {
|
||||
retval = PTR_ERR(dev->clk);
|
||||
goto err_clk;
|
||||
|
|
|
|||
|
|
@ -2226,7 +2226,7 @@ static int __init pxa_udc_probe(struct platform_device *pdev)
|
|||
udc->dev = &pdev->dev;
|
||||
udc->mach = pdev->dev.platform_data;
|
||||
|
||||
udc->clk = clk_get(&pdev->dev, "UDCCLK");
|
||||
udc->clk = clk_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(udc->clk)) {
|
||||
retval = PTR_ERR(udc->clk);
|
||||
goto err_clk;
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ int usb_hcd_pxa27x_probe (const struct hc_driver *driver, struct platform_device
|
|||
return -ENXIO;
|
||||
}
|
||||
|
||||
usb_clk = clk_get(&pdev->dev, "USBCLK");
|
||||
usb_clk = clk_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(usb_clk))
|
||||
return PTR_ERR(usb_clk);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue