Re: [PATCH v6 14/35] i2c: tegra: Clean up probe function

2020-09-08 Thread Dmitry Osipenko
08.09.2020 11:40, Andy Shevchenko пишет: > On Tue, Sep 8, 2020 at 5:11 AM 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

Re: [PATCH v6 14/35] i2c: tegra: Clean up probe function

2020-09-08 Thread Andy Shevchenko
On Tue, Sep 8, 2020 at 5:11 AM 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. > All

[PATCH v6 14/35] i2c: tegra: Clean up probe function

2020-09-07 Thread Dmitry Osipenko
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. All dev/>dev are replaced with i2c_dev->dev in order to have uniform