spi: spi-fsl-dspi: Move dspi_interrupt above dspi_transfer_one_message
authorVladimir Oltean <olteanv@gmail.com>
Sun, 18 Aug 2019 18:01:13 +0000 (21:01 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 20 Aug 2019 13:13:30 +0000 (14:13 +0100)
commita63af99f0d0d1c0992736f1aaf9e3b42bee0e2b8
tree93d86ed08967dd54cddb2fff5b7338186f089315
parent206175306da1de0c116e8bc12db3230edb230d5a
spi: spi-fsl-dspi: Move dspi_interrupt above dspi_transfer_one_message

The two functions are loosely coupled through dspi->waitq, but
logically, dspi_transfer_one_message depends on dspi_interrupt in order
to complete. Move its definition above it so the I/O functions are
grouped closer together.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20190818180115.31114-13-olteanv@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c