ASoC: davinci: don't use clock names
authorKevin Hilman <khilman@deeprootsystems.com>
Wed, 15 Jul 2009 17:42:09 +0000 (10:42 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Jul 2009 09:59:52 +0000 (10:59 +0100)
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>
sound/soc/davinci/davinci-i2s.c
sound/soc/davinci/davinci-mcasp.c

index f7330e112be5ffed229bde21fa6fe4aecc8b90db..e5cd97b74c50850070c280097db1ba7b03da0ca9 100644 (file)
@@ -528,7 +528,7 @@ static int davinci_i2s_probe(struct platform_device *pdev)
                goto err_release_region;
        }
 
-       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_free_mem;
index b27aab60ece379d69af817582e6b08e364973c1f..f0c034771062b7b4ccb146505cc534ff44c9f72a 100644 (file)
@@ -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;