i2c: tegra: Reorder location of functions in the code
authorDmitry Osipenko <digetx@gmail.com>
Tue, 29 Sep 2020 22:18:58 +0000 (01:18 +0300)
committerWolfram Sang <wsa@kernel.org>
Mon, 5 Oct 2020 20:57:41 +0000 (22:57 +0200)
commitdf384fa58a321a88b22499a43cb5c5d0fb9f5364
tree40fa15291d6e806717aea9767a44765b95154831
parent55c52f16a017ca3b1546709f8cfa5a4c856926eb
i2c: tegra: Reorder location of functions in the code

Reorder location of functions in the code in order to have definition
of functions closer to the place of the invocation. This change makes
easier to navigate around the code and removes the need to have a
prototype for tegra_i2c_init().

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>
drivers/i2c/busses/i2c-tegra.c