On Wed, Sep 09, 2020 at 01:39:56AM +0300, Dmitry Osipenko wrote: > The code related to packet header setting up is a bit messy and makes > tegra_i2c_xfer_msg() more difficult to read than it could be. Let's > factor the packet header setup from tegra_i2c_xfer_msg() into separate > function in order to make code easier to read and follow. > > Reviewed-by: Michał Mirosław > Signed-off-by: Dmitry Osipenko > --- > drivers/i2c/busses/i2c-tegra.c | 92 ++++++++++++++++++++-------------- > 1 file changed, 53 insertions(+), 39 deletions(-) Acked-by: Thierry Reding