Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

misc: eeprom: eeprom_93cx6: Repair function arg descriptions

Copy-paste issue. Looks like the kerneldoc style descriptions for
these functions were taken from existing functions with slightly
different argument names.

Fixes the following W=1 warnings:

drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb'
drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb'
drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb'
drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb'

Cc: Wolfram Sang <wsa@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200626130525.389469-7-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
98e72eb6 f049c545

+2 -2
+2 -2
drivers/misc/eeprom/eeprom_93cx6.c
··· 228 228 /** 229 229 * eeprom_93cx6_readb - Read a byte from eeprom 230 230 * @eeprom: Pointer to eeprom structure 231 - * @word: Byte index from where we should start reading 231 + * @byte: Byte index from where we should start reading 232 232 * @data: target pointer where the information will have to be stored 233 233 * 234 234 * This function will read a byte of the eeprom data ··· 270 270 * @eeprom: Pointer to eeprom structure 271 271 * @byte: Index from where we should start reading 272 272 * @data: target pointer where the information will have to be stored 273 - * @words: Number of bytes that should be read. 273 + * @bytes: Number of bytes that should be read. 274 274 * 275 275 * This function will read all requested bytes from the eeprom, 276 276 * this is done by calling eeprom_93cx6_readb() multiple times.