mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -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
|
|
@ -475,7 +475,7 @@ static int __devinit pxa27x_keypad_probe(struct platform_device *pdev)
|
|||
goto failed_free_mem;
|
||||
}
|
||||
|
||||
keypad->clk = clk_get(&pdev->dev, "KBDCLK");
|
||||
keypad->clk = clk_get(&pdev->dev, NULL);
|
||||
if (IS_ERR(keypad->clk)) {
|
||||
dev_err(&pdev->dev, "failed to get keypad clock\n");
|
||||
error = PTR_ERR(keypad->clk);
|
||||
|
|
|
|||
Loading…
Reference in a new issue