Commit 3e46a447 authored by Kevin Hilman's avatar Kevin Hilman Committed by Mark Brown
Browse files

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: default avatarKevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9db9ed97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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;