commit | 323117ab60156d5ef021eeef260c4e7e0a7f520e | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Sep 13 15:38:25 2016 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Sep 16 12:05:55 2016 +0100 |
tree | ceb29b612853f3554b81f4d0840825c1e76e811e | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc [diff] |
spi: core: Use spi_sync_transfer() in spi_write()/spi_read() Simplify spi_write() and spi_read() using the spi_sync_transfer() helper. This requires moving spi_sync_transfer() up. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@kernel.org>