[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210302121148.28328-1-tangbin@cmss.chinamobile.com>
Date: Tue, 2 Mar 2021 20:11:48 +0800
From: Tang Bin <tangbin@...s.chinamobile.com>
To: broonie@...nel.org, paul@...pouillou.net, lgirdwood@...il.com,
perex@...ex.cz, tiwai@...e.com
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
Tang Bin <tangbin@...s.chinamobile.com>
Subject: [PATCH] ASoC: codec: Omit superfluous error message in jz4760_codec_probe()
The function devm_platform_ioremap_resource has already contained error
message, so remove the redundant dev_err here.
Signed-off-by: Tang Bin <tangbin@...s.chinamobile.com>
---
sound/soc/codecs/jz4760.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/jz4760.c b/sound/soc/codecs/jz4760.c
index e8f28ccc145a..c2d8a107f159 100644
--- a/sound/soc/codecs/jz4760.c
+++ b/sound/soc/codecs/jz4760.c
@@ -843,7 +843,6 @@ static int jz4760_codec_probe(struct platform_device *pdev)
codec->base = devm_platform_ioremap_resource(pdev, 0);
if (IS_ERR(codec->base)) {
ret = PTR_ERR(codec->base);
- dev_err(dev, "Failed to ioremap mmio memory: %d\n", ret);
return ret;
}
--
2.18.2
Powered by blists - more mailing lists