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

Sasha Levin sashal at kernel.org
Sun Nov 1 19:31:59 EST 2020


On Mon, Oct 26, 2020 at 08:59:34PM -0300, Fabio Estevam wrote:
>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?

Nope, I'm dropping it, thanks!

-- 
Thanks,
Sasha



More information about the linux-arm-kernel mailing list