summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2014-01-25 21:36:15 +0100
committerMark Brown <broonie@linaro.org>2014-01-27 19:45:02 +0100
commite9305331f64ab9e5210baa4307355635c5e849f4 (patch)
treebe2b1552fc66db3c447e671a400cd7fe2e8ba41d /include
parentspi: document the transfer_one spi_master callback (diff)
downloadlinux-e9305331f64ab9e5210baa4307355635c5e849f4.tar.xz
linux-e9305331f64ab9e5210baa4307355635c5e849f4.zip
spi: correct the transfer_one_message documentation wording
The transfer_one_message callback handles messages, not transfers. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/spi/spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index ad050f0dd39d..4203c66d8803 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -273,7 +273,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv)
* message while queuing transfers that arrive in the meantime. When the
* driver is finished with this message, it must call
* spi_finalize_current_message() so the subsystem can issue the next
- * transfer
+ * message
* @unprepare_transfer_hardware: there are currently no more messages on the
* queue so the subsystem notifies the driver that it may relax the
* hardware by issuing this call