Re: [PATCH v5 6/7] platform/chrome: cros_ec_typec: Cleanup switch handle return paths

From: Tzung-Bi Shih
Date: Tue Aug 16 2022 - 03:57:50 EST


On Mon, Aug 15, 2022 at 06:34:28AM +0000, Prashant Malani wrote:
> Some of the return paths for the cros_typec_get_switch_handles()
> aren't necessary. Clean up the return paths to only undo the handle
> get's which succeeded.
>
> Signed-off-by: Prashant Malani <pmalani@xxxxxxxxxxxx>

Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>