Re: [PATCH 02/15] drivers: thermal: tsens: Simplify code flow in tsens_probe

From: Stephen Boyd
Date: Sat Aug 17 2019 - 00:02:25 EST


Quoting Amit Kucheria (2019-07-25 15:18:37)
> Move platform_set_drvdata up to avoid an extra 'if (ret)' check after
> the call to tsens_register.
>
> Signed-off-by: Amit Kucheria <amit.kucheria@xxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>