spi: Reorder functions to simplify the next commit
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 7 Oct 2021 12:14:14 +0000 (14:14 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 7 Oct 2021 14:45:59 +0000 (15:45 +0100)
commitfb51601bdf3a761ccd3f3d9dc6c03064f10f23aa
treec9ebaaf6c2897de8710c3526d849e25f8e87b627
parentbdc7ca008e1f5539e891187032cb2cbbc3decb5e
spi: Reorder functions to simplify the next commit

Currently the "Core methods for SPI resource management" are exported
and public functions. They are however only used in drivers/spi/spi.c.
To allow to drop the global declarations and not to have to insert local
ones instead, move them before their users.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211007121415.2401638-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c