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
|
|
@ -766,7 +766,7 @@ static int serial_pxa_probe(struct platform_device *dev)
|
|||
if (!sport)
|
||||
return -ENOMEM;
|
||||
|
||||
sport->clk = clk_get(&dev->dev, "UARTCLK");
|
||||
sport->clk = clk_get(&dev->dev, NULL);
|
||||
if (IS_ERR(sport->clk)) {
|
||||
ret = PTR_ERR(sport->clk);
|
||||
goto err_free;
|
||||
|
|
|
|||
Loading…
Reference in a new issue