Re: [PATCH] net: phy: Use IS_ERR() to check and simplify code
From: David Miller
Date: Wed Apr 22 2020 - 22:40:22 EST
From: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 22 Apr 2020 16:15:42 +0800
> Use IS_ERR() and PTR_ERR() instead of PTR_ZRR_OR_ZERO()
> to simplify code, avoid redundant paramenter definitions
> and judgements.
>
> Signed-off-by: Zhang Shengju <zhangshengju@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>
Applied, thanks.