]> 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)
commit4dcc307da89c0c75c2d91aaa824b4a525e6b9bf3
treec9ebaaf6c2897de8710c3526d849e25f8e87b627
parentfd4b45474e99d363008744a7abc2942952cc74af
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