diff options
author | Mark Brown <broonie@kernel.org> | 2022-06-13 13:19:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 13:24:36 +0100 |
commit | 145cfc3840e5931a789a8e2e76af841ab4cad44b (patch) | |
tree | c0cbb2330f94e3cc58f6f053eb1be0137ed515c5 /drivers/spi/spi-synquacer.c | |
parent | e2185072a4a4786eb46be046cf20494c08dcc78f (diff) |
spi: mpc52xx-psc: Switch to using core message queue
We deprecated open coding of the transfer queue back in 2017 so it's high
time we finished up converting drivers to use the standard message queue
code. The mpc52xx-psc driver is fairly straightforward so convert to use
transfer_one_message(), it looks like the driver would be a good fit for
transfer_one() with a little bit of updating but this smaller change seems
safer.
The driver seems like a good candidate for transfer_one() but the chip
select function is actually doing rather more than just updating the chip
select and both transfer_one() and transfer_one_message() are current APIs
so leave that refactoring for another day, ideally by someone with the
hardware.
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220613121946.136193-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-synquacer.c')
0 files changed, 0 insertions, 0 deletions