aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_i2s.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-01-28 16:26:41 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-31 08:16:40 -0500
commit713dce4e0b3dfd9d2d159d2fc6ec191916279bc5 (patch)
treeaf91b7efe936069dcf125b64869811246c59a52d /sound/soc/tegra/tegra_i2s.c
parentd64e57cef0436833cfc9620e350ec6f5b041c9a9 (diff)
ASoC: Tegra: I2S: Use dev_err not pr_err
Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/tegra_i2s.c')
-rw-r--r--sound/soc/tegra/tegra_i2s.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_i2s.c b/sound/soc/tegra/tegra_i2s.c
index 6d668785e9af..870ee361f757 100644
--- a/sound/soc/tegra/tegra_i2s.c
+++ b/sound/soc/tegra/tegra_i2s.c
@@ -386,7 +386,7 @@ static __devinit int tegra_i2s_platform_probe(struct platform_device *pdev)
386 snprintf(clk_name, sizeof(clk_name), DRV_NAME ".%d", pdev->id); 386 snprintf(clk_name, sizeof(clk_name), DRV_NAME ".%d", pdev->id);
387 i2s->clk_i2s = clk_get_sys(clk_name, NULL); 387 i2s->clk_i2s = clk_get_sys(clk_name, NULL);
388 if (IS_ERR(i2s->clk_i2s)) { 388 if (IS_ERR(i2s->clk_i2s)) {
389 pr_err("Can't retrieve i2s clock\n"); 389 dev_err(&pdev->dev, "Can't retrieve i2s clock\n");
390 ret = PTR_ERR(i2s->clk_i2s); 390 ret = PTR_ERR(i2s->clk_i2s);
391 goto err_free; 391 goto err_free;
392 } 392 }