summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.c
diff options
context:
space:
mode:
authorRussell King2008-11-30 18:38:14 +0100
committerRussell King2008-11-30 18:38:14 +0100
commitee569c43e340202fb0ba427c57b77568a32b9a3a (patch)
tree4e3ed1deda4af1aa987b436f9797ab4d20ed27e5 /drivers/mmc/host/mmci.c
parent[ARM] lh7a40x: convert to simple clk API (diff)
downloadkernel-qcow2-linux-ee569c43e340202fb0ba427c57b77568a32b9a3a.tar.gz
kernel-qcow2-linux-ee569c43e340202fb0ba427c57b77568a32b9a3a.tar.xz
kernel-qcow2-linux-ee569c43e340202fb0ba427c57b77568a32b9a3a.zip
[ARM] amba drivers: 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, and it only encourages wrong implementations of the clk API. Remove it. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r--drivers/mmc/host/mmci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 2fadf323c696..1bcbdd6763ac 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -500,7 +500,7 @@ static int mmci_probe(struct amba_device *dev, void *id)
}
host = mmc_priv(mmc);
- host->clk = clk_get(&dev->dev, "MCLK");
+ host->clk = clk_get(&dev->dev, NULL);
if (IS_ERR(host->clk)) {
ret = PTR_ERR(host->clk);
host->clk = NULL;