diff options
author | Baruch Siach <baruch@tkos.co.il> | 2014-01-25 15:36:15 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-27 13:45:02 -0500 |
commit | e9305331f64ab9e5210baa4307355635c5e849f4 (patch) | |
tree | be2b1552fc66db3c447e671a400cd7fe2e8ba41d | |
parent | 18cc0adb132b390d026c574deec29bf182aede51 (diff) |
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>
-rw-r--r-- | Documentation/spi/spi-summary | 2 | ||||
-rw-r--r-- | include/linux/spi/spi.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index dcaad476789c..7982bcc4d151 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary | |||
@@ -543,7 +543,7 @@ SPI MASTER METHODS | |||
543 | queuing transfers that arrive in the meantime. When the driver is | 543 | queuing transfers that arrive in the meantime. When the driver is |
544 | finished with this message, it must call | 544 | finished with this message, it must call |
545 | spi_finalize_current_message() so the subsystem can issue the next | 545 | spi_finalize_current_message() so the subsystem can issue the next |
546 | transfer. This may sleep. | 546 | message. This may sleep. |
547 | 547 | ||
548 | master->transfer_one(struct spi_master *master, struct spi_device *spi, | 548 | master->transfer_one(struct spi_master *master, struct spi_device *spi, |
549 | struct spi_transfer *transfer) | 549 | struct spi_transfer *transfer) |
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) | |||
273 | * message while queuing transfers that arrive in the meantime. When the | 273 | * message while queuing transfers that arrive in the meantime. When the |
274 | * driver is finished with this message, it must call | 274 | * driver is finished with this message, it must call |
275 | * spi_finalize_current_message() so the subsystem can issue the next | 275 | * spi_finalize_current_message() so the subsystem can issue the next |
276 | * transfer | 276 | * message |
277 | * @unprepare_transfer_hardware: there are currently no more messages on the | 277 | * @unprepare_transfer_hardware: there are currently no more messages on the |
278 | * queue so the subsystem notifies the driver that it may relax the | 278 | * queue so the subsystem notifies the driver that it may relax the |
279 | * hardware by issuing this call | 279 | * hardware by issuing this call |