]> Pileus Git - ~andy/linux/commitdiff
spi: correct the transfer_one_message documentation wording
authorBaruch Siach <baruch@tkos.co.il>
Sat, 25 Jan 2014 20:36:15 +0000 (22:36 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 27 Jan 2014 18:45:02 +0000 (18:45 +0000)
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>
Documentation/spi/spi-summary
include/linux/spi/spi.h

index dcaad476789c0b6914ebc0cc7a24d73cfc2ee6e3..7982bcc4d151adfa6f0782182a84a482b8d976a0 100644 (file)
@@ -543,7 +543,7 @@ SPI MASTER METHODS
        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. This may sleep.
+       message. This may sleep.
 
     master->transfer_one(struct spi_master *master, struct spi_device *spi,
                         struct spi_transfer *transfer)
index ad050f0dd39d6f7f38391529267a2c07ae17dbd1..4203c66d88033269692fa38ce50aebe17fee9419 100644 (file)
@@ -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