projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d64e57c
)
ASoC: Tegra: I2S: Use dev_err not pr_err
author
Stephen Warren
<swarren@nvidia.com>
Fri, 28 Jan 2011 21:26:41 +0000
(14:26 -0700)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/sound/soc/tegra/tegra_i2s.c
b/sound/soc/tegra/tegra_i2s.c
index 6d668785e9afe2522bf2dd9be3f87e069517d57e..870ee361f75790b29bf03ab2a556d4f044a55e20 100644
(file)
--- 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;
}