spi: fsl-espi: factor out handling of read data
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 7 Sep 2016 20:54:18 +0000 (22:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Sep 2016 19:03:49 +0000 (20:03 +0100)
commitcce7e3a2fe39a5b66162a3dc1463a1af598d0803
tree26798f0400b91933e1305ec570539f55a9184c65
parent96361fafbbfc8a07b4c7ec09d96d742ef68bfbad
spi: fsl-espi: factor out handling of read data

Factor out copying read data to the read buffers in the original
message to a new function fsl_espi_copy_from_buf.
This also allows to simplify fsl_espi_copy_to_buf.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c
This page took 0.026027 seconds and 5 git commands to generate.