mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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
@ -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);
|
snprintf(clk_name, sizeof(clk_name), DRV_NAME ".%d", pdev->id);
|
||||||
i2s->clk_i2s = clk_get_sys(clk_name, NULL);
|
i2s->clk_i2s = clk_get_sys(clk_name, NULL);
|
||||||
if (IS_ERR(i2s->clk_i2s)) {
|
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);
|
ret = PTR_ERR(i2s->clk_i2s);
|
||||||
goto err_free;
|
goto err_free;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user