projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac5bf39
)
ASoC: zte: zx-spdif: remove redundant dev_err message
author
tangbin
<tangbin@cmss.chinamobile.com>
Thu, 27 Feb 2020 15:07:01 +0000
(23:07 +0800)
committer
Mark Brown
<broonie@kernel.org>
Fri, 28 Feb 2020 17:28:31 +0000
(17:28 +0000)
devm_ioremap_resource has already contains error message, so remove
the redundant dev_err message
Signed-off-by: tangbin <tangbin@cmss.chinamobile.com>
Link:
https://lore.kernel.org/r/20200227150701.15652-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/zte/zx-spdif.c
patch
|
blob
|
history
diff --git
a/sound/soc/zte/zx-spdif.c
b/sound/soc/zte/zx-spdif.c
index 60382ec23832d7e82a4432458e515f0e623b4256..a3a07c0730e691eae7cc9de3b0caf7b597f7f817 100644
(file)
--- a/
sound/soc/zte/zx-spdif.c
+++ b/
sound/soc/zte/zx-spdif.c
@@
-322,7
+322,6
@@
static int zx_spdif_probe(struct platform_device *pdev)
zx_spdif->mapbase = res->start;
zx_spdif->reg_base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(zx_spdif->reg_base)) {
- dev_err(&pdev->dev, "ioremap failed!\n");
return PTR_ERR(zx_spdif->reg_base);
}