[PATCH 1/4 v2] mfd: Congatec: fix kernel-doc struct member names

Randy Dunlap posted 4 patches 1 month ago
[PATCH 1/4 v2] mfd: Congatec: fix kernel-doc struct member names
Posted by Randy Dunlap 1 month ago
Correct the struct member names to avoid kernel-doc warnings:

Warning: include/linux/mfd/cgbc.h:38 struct member 'version' not
 described in 'cgbc_device_data'
Warning: ../include/linux/mfd/cgbc.h:38 struct member 'lock' not
 described in 'cgbc_device_data'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Thomas Richard <thomas.richard@bootlin.com>
Cc: Lee Jones <lee@kernel.org>

 include/linux/mfd/cgbc.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-next-20260220.orig/include/linux/mfd/cgbc.h
+++ linux-next-20260220/include/linux/mfd/cgbc.h
@@ -26,8 +26,8 @@ struct cgbc_version {
  * @io_cmd:		Pointer to the command IO memory
  * @session:		Session id returned by the Board Controller
  * @dev:		Pointer to kernel device structure
- * @cgbc_version:	Board Controller version structure
- * @mutex:		Board Controller mutex
+ * @version:		Board Controller version structure
+ * @lock:		Board Controller mutex
  */
 struct cgbc_device_data {
 	void __iomem		*io_session;