summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-01-28 14:26:41 -0700
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-31 13:16:40 +0000
commit713dce4e0b3dfd9d2d159d2fc6ec191916279bc5 (patch)
treeaf91b7efe936069dcf125b64869811246c59a52d
parentd64e57cef0436833cfc9620e350ec6f5b041c9a9 (diff)
downloadop-kernel-dev-713dce4e0b3dfd9d2d159d2fc6ec191916279bc5.zip
op-kernel-dev-713dce4e0b3dfd9d2d159d2fc6ec191916279bc5.tar.gz
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>
-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 6d66878..870ee36 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)
snprintf(clk_name, sizeof(clk_name), DRV_NAME ".%d", pdev->id);
i2s->clk_i2s = clk_get_sys(clk_name, NULL);
if (IS_ERR(i2s->clk_i2s)) {
- pr_err("Can't retrieve i2s clock\n");
+ dev_err(&pdev->dev, "Can't retrieve i2s clock\n");
ret = PTR_ERR(i2s->clk_i2s);
goto err_free;
}
OpenPOWER on IntegriCloud