mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH for-6.14] spi: atmel-quadspi: Fix warning in doc-comment
@ 2025-02-03 15:12 Bence Csókás
  2025-02-04 19:09 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Bence Csókás @ 2025-02-03 15:12 UTC (permalink / raw)
  To: Mark Brown, Tudor Ambarus, Varshini Rajendran, Csókás,
	Bence, linux-spi, linux-arm-kernel, linux-kernel
  Cc: kernel test robot, Nicolas Ferre, Alexandre Belloni, Claudiu Beznea

The doc-comment for `struct atmel_qspi_pcal` had a typo in one of the
struct members' name, causing a warning with the `W=1` option.

Fixes: 5af42209a4d2 ("spi: atmel-quadspi: Add support for sama7g5 QSPI")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501311707.Ltj0qXse-lkp@intel.com/
Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>
---
 drivers/spi/atmel-quadspi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/atmel-quadspi.c b/drivers/spi/atmel-quadspi.c
index abdc49d9d940..d8c9be64d006 100644
--- a/drivers/spi/atmel-quadspi.c
+++ b/drivers/spi/atmel-quadspi.c
@@ -235,8 +235,8 @@
 /**
  * struct atmel_qspi_pcal - Pad Calibration Clock Division
  * @pclk_rate: peripheral clock rate.
- * @pclkdiv: calibration clock division. The clock applied to the calibration
- *           cell is divided by pclkdiv + 1.
+ * @pclk_div: calibration clock division. The clock applied to the calibration
+ *           cell is divided by pclk_div + 1.
  */
 struct atmel_qspi_pcal {
 	u32 pclk_rate;
-- 
2.48.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-04 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-03 15:12 [PATCH for-6.14] spi: atmel-quadspi: Fix warning in doc-comment Bence Csókás
2025-02-04 19:09 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®