commit | b671358ad7916beb7ca9e5c304ae88afc7da4557 | [log] [tgz] |
---|---|---|
author | Beniamino Galvani <b.galvani@gmail.com> | Sat Nov 22 16:21:39 2014 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 24 18:53:42 2014 +0000 |
tree | ee79ebf66aa09c33baac5530127674c8fc5b9ad3 | |
parent | 5d01410fe4d92081f349b013a2e7a95429e4f2c9 [diff] |
spi: core: Add spi_transfer_is_last() helper This adds the function spi_transfer_is_last() which can be used by drivers to know whether a given transfer is the last one in the current message. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>