]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: Tegra: I2S: Use dev_err not pr_err
authorStephen Warren <swarren@nvidia.com>
Fri, 28 Jan 2011 21:26:41 +0000 (14:26 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 31 Jan 2011 13:16:40 +0000 (13:16 +0000)
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>
sound/soc/tegra/tegra_i2s.c

index 6d668785e9afe2522bf2dd9be3f87e069517d57e..870ee361f75790b29bf03ab2a556d4f044a55e20 100644 (file)
@@ -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;
        }