summaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-mcasp.c
diff options
context:
space:
mode:
authorKevin Hilman2009-07-15 19:42:09 +0200
committerMark Brown2009-07-16 11:59:52 +0200
commit3e46a447396df99e2367fe1564651abaacc19c13 (patch)
tree479e915304f73ee54c5edcd7878363e7492c005a /sound/soc/davinci/davinci-mcasp.c
parentASoC: MAX9877: add MAX9877 amp driver (diff)
downloadkernel-qcow2-linux-3e46a447396df99e2367fe1564651abaacc19c13.tar.gz
kernel-qcow2-linux-3e46a447396df99e2367fe1564651abaacc19c13.tar.xz
kernel-qcow2-linux-3e46a447396df99e2367fe1564651abaacc19c13.zip
ASoC: davinci: don't use clock names
clock name strings are no longer passed on platform_data. Instead, we rely entirely on struct device and clkdev to find the right clock. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci/davinci-mcasp.c')
-rw-r--r--sound/soc/davinci/davinci-mcasp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index b27aab60ece3..f0c034771062 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -764,7 +764,7 @@ static int davinci_mcasp_probe(struct platform_device *pdev)
}
pdata = pdev->dev.platform_data;
- dev->clk = clk_get(&pdev->dev, pdata->clk_name);
+ dev->clk = clk_get(&pdev->dev, NULL);
if (IS_ERR(dev->clk)) {
ret = -ENODEV;
goto err_release_region;