2020-07-28 15:14:56

by Markus Elfring

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


> +++ 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