diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-09-30 01:19:06 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-10-05 22:57:43 +0200 |
commit | 4be62340f3ce62b90a01ce11a6bc2426606614c5 (patch) | |
tree | c42c7456ebf108a1b78858c7e9a54cf0f8b7fd67 /fs/xfs | |
parent | 4a8e0f87977ec3b83db13d3ac22c6fc5a9703fd9 (diff) | |
download | linux-stable-4be62340f3ce62b90a01ce11a6bc2426606614c5.tar.gz linux-stable-4be62340f3ce62b90a01ce11a6bc2426606614c5.tar.bz2 linux-stable-4be62340f3ce62b90a01ce11a6bc2426606614c5.zip |
i2c: tegra: Factor out packet header setup from tegra_i2c_xfer_msg()
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 <mirq-linux@rere.qmqm.pl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions