diff options
author | Felipe Balbi <balbi@ti.com> | 2013-04-02 04:12:11 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-04-02 04:42:47 -0400 |
commit | 65cd3f2b877ed11faa0899524746d27ed2d5aa75 (patch) | |
tree | ca29c9edc724e7ec5cab7aedeca282f76a44ab6a /drivers | |
parent | 1805e811f00623465900238d4863fc9433e0b99e (diff) |
usb: gadget: mv_u3d_core: remove unused clock
The origianl understanding of clock is wrong. The UDC controller
only have one clock input.
Passing clock name by pdata is wrong. The clock is defined by device
iteself.
Cc: Chao Xie <chao.xie@marvell.com>
Cc: Yu Xu <yuxu@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/mv_u3d_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c index 9675227a9529..58288e9cf728 100644 --- a/drivers/usb/gadget/mv_u3d_core.c +++ b/drivers/usb/gadget/mv_u3d_core.c | |||
@@ -1821,7 +1821,7 @@ static int mv_u3d_probe(struct platform_device *dev) | |||
1821 | u3d->dev = &dev->dev; | 1821 | u3d->dev = &dev->dev; |
1822 | u3d->vbus = pdata->vbus; | 1822 | u3d->vbus = pdata->vbus; |
1823 | 1823 | ||
1824 | u3d->clk = clk_get(&dev->dev, pdata->clkname[0]); | 1824 | u3d->clk = clk_get(&dev->dev, NULL); |
1825 | if (IS_ERR(u3d->clk)) { | 1825 | if (IS_ERR(u3d->clk)) { |
1826 | retval = PTR_ERR(u3d->clk); | 1826 | retval = PTR_ERR(u3d->clk); |
1827 | goto err_get_clk; | 1827 | goto err_get_clk; |