Skip to content

Commit dfa51f6

Browse files
Lee Jonesbroonie
authored andcommitted
spi: spi-ep93xx: Fix API slippage
ep93xx_spi_read_write() changed is parameters, but the function documentation was left unchanged. Let's realign. Fixes the following W=1 kernel build warning(s): drivers/spi/spi-ep93xx.c:227: warning: Function parameter or member 'master' not described in 'ep93xx_spi_read_write' drivers/spi/spi-ep93xx.c:227: warning: Excess function parameter 'espi' description in 'ep93xx_spi_read_write' Signed-off-by: Lee Jones <[email protected]> Cc: Mika Westerberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent f6305d2 commit dfa51f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-ep93xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ static void ep93xx_do_read(struct spi_master *master)
214214

215215
/**
216216
* ep93xx_spi_read_write() - perform next RX/TX transfer
217-
* @espi: ep93xx SPI controller struct
217+
* @master: SPI master
218218
*
219219
* This function transfers next bytes (or half-words) to/from RX/TX FIFOs. If
220220
* called several times, the whole transfer will be completed. Returns

0 commit comments

Comments
 (0)