Re: [PATCH 3/4] platform/chrome: cros_typec_switch: Use PTR_ERR_OR_ZERO() to simplify

From: Prashant Malani
Date: Tue Aug 30 2022 - 19:05:42 EST


On Tue, Aug 30, 2022 at 3:58 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:
>
> Use the standard error pointer macro to shorten the code and simplify.
>
> Cc: Prashant Malani <pmalani@xxxxxxxxxxxx>
> Cc: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
Acked-by: Prashant Malani <pmalani@xxxxxxxxxxxx>