Explicitly note the transfer_one and transfer_one_message are mutually exclusive, to make the text a little more newcomers friendly.
Signed-off-by: Baruch Siach <[email protected]> --- include/linux/spi/spi.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 8c62ba74dd91..060b21e82e73 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -285,7 +285,9 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv) * @transfer_one: transfer a single spi_transfer. When the * driver is finished with this transfer it must call * spi_finalize_current_transfer() so the subsystem can issue - * the next transfer + * the next transfer. Note: transfer_one and + * transfer_one_message are mutually exclusive; when both are + * set, transfer_one takes precedence. * @unprepare_message: undo any work done by prepare_message(). * @cs_gpios: Array of GPIOs to use as chip select lines; one per CS * number. Any individual value may be -ENOENT for CS lines that -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
