[PATCH] eeprom_93cx6: fix struct member kernel-doc

Randy Dunlap posted 1 patch 1 day, 1 hour ago
include/linux/eeprom_93cx6.h |    8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH] eeprom_93cx6: fix struct member kernel-doc
Posted by Randy Dunlap 1 day, 1 hour ago
Remove the function parameter parts of the struct member descriptions
to prevent kernel-doc warnings:

Warning: include/linux/eeprom_93cx6.h:64 struct member 'register_read'
 not described in 'eeprom_93cx6'
Warning: ../include/linux/eeprom_93cx6.h:64 struct member 'register_write'
 not described in 'eeprom_93cx6'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 include/linux/eeprom_93cx6.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- linux-next-20251201.orig/include/linux/eeprom_93cx6.h
+++ linux-next-20251201/include/linux/eeprom_93cx6.h
@@ -31,10 +31,10 @@
  * struct eeprom_93cx6 - control structure for setting the commands
  * for reading the eeprom data.
  * @data: private pointer for the driver.
- * @register_read(struct eeprom_93cx6 *eeprom): handler to
- * read the eeprom register, this function should set all reg_* fields.
- * @register_write(struct eeprom_93cx6 *eeprom): handler to
- * write to the eeprom register by using all reg_* fields.
+ * @register_read: handler to read the eeprom register;
+ * this function should set all reg_* fields.
+ * @register_write: handler to write to the eeprom register by using
+ * all reg_* fields.
  * @width: eeprom width, should be one of the PCI_EEPROM_WIDTH_* defines
  * @quirks: eeprom or controller quirks
  * @drive_data: Set if we're driving the data line.