Re: [PATCH] usb: phy: tegra: Use IS_ERR() to check and simplify code

From: Felipe Balbi
Date: Thu Sep 24 2020 - 03:26:25 EST


Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx> writes:

> Use IS_ERR() and PTR_ERR() instead of PTR_ERR_OR_ZERO() to
> simplify code, avoid redundant judgements.
>
> Signed-off-by: Zhang Shengju <zhangshengju@xxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Tang Bin <tangbin@xxxxxxxxxxxxxxxxxxxx>

Applied for next merge window. Make sure to get this driver out of
drivers/usb/phy and moved into drivers/phy ASAP.

--
balbi

Attachment: signature.asc
Description: PGP signature