History

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:".

Randy Dunlap committed 6 years ago

Commit 2ae3de11 parent badfae41 file · +2 −2Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/spi/spi.h+2−2
@@ -971,7 +971,7 @@ struct spi_transfer { · 970 unmodified lines
971 * each represented by a struct spi_transfer. The sequence is "atomic"971 * each represented by a struct spi_transfer. The sequence is "atomic"
972 * in the sense that no other spi_message may use that SPI bus until that972 * in the sense that no other spi_message may use that SPI bus until that
973 * sequence completes. On some systems, many such sequences can execute as973 * sequence completes. On some systems, many such sequences can execute as
974 * as single programmed DMA transfer. On all systems, these messages are974 * a single programmed DMA transfer. On all systems, these messages are
975 * queued, and might complete after transactions to other devices. Messages975 * queued, and might complete after transactions to other devices. Messages
976 * sent to a given spi_device are always executed in FIFO order.976 * sent to a given spi_device are always executed in FIFO order.
977 *977 *
@@ -1234,7 +1234,7 @@ extern int spi_bus_unlock(struct spi_controller *ctlr); · 256 unmodified lines
1234 *1234 *
1235 * For more specific semantics see spi_sync().1235 * For more specific semantics see spi_sync().
1236 *1236 *
1237 * Return: Return: zero on success, else a negative error code.1237 * Return: zero on success, else a negative error code.
1238 */1238 */
1239static inline int1239static inline int
1240spi_sync_transfer(struct spi_device *spi, struct spi_transfer *xfers,1240spi_sync_transfer(struct spi_device *spi, struct spi_transfer *xfers,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t