2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

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>
This commit is contained in:
Kevin Hilman 2009-07-15 10:42:09 -07:00 committed by Mark Brown
parent 9db9ed977d
commit 3e46a44739
2 changed files with 2 additions and 2 deletions

View 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;

View 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;