]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: fsl-espi: remove element status from struct fsl_espi_transfer
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 7 Sep 2016 20:51:10 +0000 (22:51 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 12 Sep 2016 18:58:45 +0000 (19:58 +0100)
commite33a3ade909194ec2ca633a53b428d4dac853f8a
tree062f7bde9da24321aea7a3ff5c2d1896499b1fde
parent7c159aa8c103b02a8434ae18b22048952c796e6f
spi: fsl-espi: remove element status from struct fsl_espi_transfer

Use the return values of the functions in the call chain to transport
status information instead of using an element in struct
fsl_espi_transfer for this.

This is more in line with the general approach how to handle status
information and is one step further to eventually get rid of
struct fsl_espi_transfer completely.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c