Re: [PATCH] ARM: zx: remove redundant dev_err call in zx296702_pd_probe()

From: Markus Elfring
Date: Tue Jul 28 2020 - 11:13:58 EST


â
> +++ b/arch/arm/mach-zx/zx296702-pm-domain.c
> @@ -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