aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-11-11 12:52:32 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-11-27 07:38:23 -0500
commite0d8b13ae1e3ea747620580b6f777992148de182 (patch)
treef3d9e65a8d52f3e273b91ddfcd397c1d8438e558 /drivers/mmc
parent8c3abc7d903df492a7394b0adae4349d9a381aaf (diff)
[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/mmc')
-rw-r--r--drivers/mmc/host/pxamci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/pxamci.c b/drivers/mmc/host/pxamci.c
index ebfaa9960939..a1700a80e2fd 100644
--- a/drivers/mmc/host/pxamci.c
+++ b/drivers/mmc/host/pxamci.c
@@ -533,7 +533,7 @@ static int pxamci_probe(struct platform_device *pdev)
533 host->pdata = pdev->dev.platform_data; 533 host->pdata = pdev->dev.platform_data;
534 host->clkrt = CLKRT_OFF; 534 host->clkrt = CLKRT_OFF;
535 535
536 host->clk = clk_get(&pdev->dev, "MMCCLK"); 536 host->clk = clk_get(&pdev->dev, NULL);
537 if (IS_ERR(host->clk)) { 537 if (IS_ERR(host->clk)) {
538 ret = PTR_ERR(host->clk); 538 ret = PTR_ERR(host->clk);
539 host->clk = NULL; 539 host->clk = NULL;