mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
ASoC: pxa: Drop redundant probe error messages
devm_platform_ioremap_resource() does not report the error itself, but the error is already reported deeper in the call chain, so the dev_err() calls are redundant and can be removed. Signed-off-by: bui duc phuc <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
1 parent
4fc945d8fd
commit
79a883d539
1 file changed
+1
-3
@@ -316,10 +316,8 @@ int pxa2xx_ac97_hw_probe(struct platform_device *dev)
|
||||
int irq;
|
||||
|
||||
ac97_reg_base = devm_platform_ioremap_resource(dev, 0);
|
||||
if (IS_ERR(ac97_reg_base)) {
|
||||
dev_err(&dev->dev, "Missing MMIO resource\n");
|
||||
if (IS_ERR(ac97_reg_base))
|
||||
return PTR_ERR(ac97_reg_base);
|
||||
}
|
||||
|
||||
if (cpu_is_pxa27x()) {
|
||||
/* Assert reset using GPIOD_OUT_HIGH, because reset is GPIO_ACTIVE_LOW */
|
||||
|
||||
Reference in new issue
Block a user