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>
This commit is contained in:
parent
d64e57cef0
commit
713dce4e0b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue