* [PATCH] spi: linux/spi/spi.h: fix Excess & missing kernel-doc description warnings
@ 2023-12-23 5:06 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2023-12-23 5:06 UTC (permalink / raw)
To: linux-kernel; +Cc: Randy Dunlap, Mark Brown, linux-spi
Remove one struct member description and add another one to prevent
the kernel-doc warnings:
include/linux/spi/spi.h:778: warning: Function parameter or struct member 'last_cs_index_mask' not described in 'spi_controller'
include/linux/spi/spi.h:778: warning: Excess struct member 'multi_cs_cap' description in 'spi_controller'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org
---
include/linux/spi/spi.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff -- a/include/linux/spi/spi.h b/include/linux/spi/spi.h
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -422,8 +422,6 @@ extern struct spi_device *spi_new_ancill
* @bus_lock_spinlock: spinlock for SPI bus locking
* @bus_lock_mutex: mutex for exclusion of multiple callers
* @bus_lock_flag: indicates that the SPI bus is locked for exclusive use
- * @multi_cs_cap: indicates that the SPI Controller can assert/de-assert
- * more than one chip select at once.
* @setup: updates the device mode and clocking records used by a
* device's SPI controller; protocol code may call this. This
* must fail if an unrecognized or unsupported mode is requested.
@@ -454,6 +452,7 @@ extern struct spi_device *spi_new_ancill
* @cur_msg_mapped: message has been mapped for DMA
* @last_cs: the last chip_select that is recorded by set_cs, -1 on non chip
* selected
+ * @last_cs_index_mask: records value of the last @cs_index_mask in &spi_device
* @last_cs_mode_high: was (mode & SPI_CS_HIGH) true on the last call to set_cs.
* @xfer_completion: used by core transfer_one_message()
* @busy: message pump is busy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-23 5:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-23 5:06 [PATCH] spi: linux/spi/spi.h: fix Excess & missing kernel-doc description warnings Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).