[PATCH AUTOSEL 5.9 131/147] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

Fabio Estevam festevam at gmail.com
Mon Oct 26 19:59:34 EDT 2020


Hi Sasha,

On Mon, Oct 26, 2020 at 8:56 PM Sasha Levin <sashal at kernel.org> wrote:
>
> From: Anson Huang <Anson.Huang at nxp.com>
>
> [ Upstream commit b663b798d04fb73f1ad4d54c46582d2fde7a76d6 ]
>
> dev_err_probe() can reduce code size, uniform error handling and record the
> defer probe reason etc., use it to simplify the code.
>
> Signed-off-by: Anson Huang <Anson.Huang at nxp.com>
> Reviewed-by: Guido Günther <agx at sigxcpu.org>
> Signed-off-by: Shawn Guo <shawnguo at kernel.org>
> Signed-off-by: Sasha Levin <sashal at kernel.org>

Does this qualify for stable since it is just a cleanup and not a bug fix?



More information about the linux-arm-kernel mailing list