Skip to content

Commit 2ae3de1

Browse files
rddunlapbroonie
authored andcommitted
spi: fix duplicated word in <linux/spi/spi.h>
Change doubled word "as" to "as a". Change "Return: Return:" in kernel-doc notation to have only one "Return:". Signed-off-by: Randy Dunlap <[email protected]> Cc: Mark Brown <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent badfae4 commit 2ae3de1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/spi/spi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ struct spi_transfer {
971971
* each represented by a struct spi_transfer. The sequence is "atomic"
972972
* in the sense that no other spi_message may use that SPI bus until that
973973
* sequence completes. On some systems, many such sequences can execute as
974-
* as single programmed DMA transfer. On all systems, these messages are
974+
* a single programmed DMA transfer. On all systems, these messages are
975975
* queued, and might complete after transactions to other devices. Messages
976976
* sent to a given spi_device are always executed in FIFO order.
977977
*
@@ -1234,7 +1234,7 @@ extern int spi_bus_unlock(struct spi_controller *ctlr);
12341234
*
12351235
* For more specific semantics see spi_sync().
12361236
*
1237-
* Return: Return: zero on success, else a negative error code.
1237+
* Return: zero on success, else a negative error code.
12381238
*/
12391239
static inline int
12401240
spi_sync_transfer(struct spi_device *spi, struct spi_transfer *xfers,

0 commit comments

Comments
 (0)