Skip to contentSkip to conversation

ARM: zx: remove redundant dev_err call in zx296702_pd_probe()

PATCH Markus Elfring 1 participant 1 message Jul 28, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw

…

Review static int zx296702_pd_probe(struct platform_device *pdev) · line 174

Quoted 8 lines

+++ b/arch/arm/mach-zx/zx296702-pm-domain.c

(quoted diff) +0 -1
@@ -170,7 +170,6 @@ static int zx296702_pd_probe(struct platform_device *pdev)
 
 	pcubase = devm_ioremap_resource(&pdev->dev, res);
 	if (IS_ERR(pcubase)) {
-		dev_err(&pdev->dev, "ioremap fail.\n");
 		return -EIO;
 	}

Would you like to delete also the curly brackets besides the error message?

Regards,
Markus