summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pxa25x_udc.c
diff options
context:
space:
mode:
authorRussell King2008-11-11 18:52:32 +0100
committerRussell King2008-11-27 13:38:23 +0100
commite0d8b13ae1e3ea747620580b6f777992148de182 (patch)
treef3d9e65a8d52f3e273b91ddfcd397c1d8438e558 /drivers/usb/gadget/pxa25x_udc.c
parent[ARM] pxa: convert to clkdev and match clocks by struct device where possible (diff)
downloadkernel-qcow2-linux-e0d8b13ae1e3ea747620580b6f777992148de182.tar.gz
kernel-qcow2-linux-e0d8b13ae1e3ea747620580b6f777992148de182.tar.xz
kernel-qcow2-linux-e0d8b13ae1e3ea747620580b6f777992148de182.zip
[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 <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/usb/gadget/pxa25x_udc.c')
-rw-r--r--drivers/usb/gadget/pxa25x_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c
index da6e93c201d2..a4790f3c7cd3 100644
--- a/drivers/usb/gadget/pxa25x_udc.c
+++ b/drivers/usb/gadget/pxa25x_udc.c
@@ -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;