Re: [PATCH v7 14/34] i2c: tegra: Clean up probe function

Thierry Reding
2020-09-21T10:19:31Z

On Wed, 09 Sep 2020 01:39:46 +0300, Dmitry Osipenko wrote:
> The driver's probe function code is a bit difficult to read. This patch
> reorders code of the probe function, forming groups of code that are easy
> to work with. The probe tear-down order now matches the driver-removal
> order.
>
> Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
> ---
> drivers/i2c/busses/i2c-tegra.c | 100 ++++++++++++++++-----------------
> 1 file changed, 49 insertions(+), 51 deletions(-)

Tested-by: Thierry Reding <treding@nvidia.com>