]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb95cfe67c9d9f22afe38497d9240662d641a73bc
treec9ebaaf6c2897de8710c3526d849e25f8e87b627
parent18ec9667d5e06680bd064374e5ca01678b24570a
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