]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
eeprom_93cx6: fix struct member kernel-doc
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 14 Dec 2025 20:27:39 +0000 (12:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 15:35:37 +0000 (16:35 +0100)
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>
Link: https://patch.msgid.link/20251214202739.2216904-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/eeprom_93cx6.h

index 3a485cc0e0fa0b6ddeafe2ed8113314fc2bd3e98..194a4a49ff1d5319cef5719fe55ece59a8b1a9ea 100644 (file)
  * 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.