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

misc: pch_phub: Remove superfluous descriptions to non-existent args 'offset_address'

Probably a copy 'n' paste error, 'offset_address' has never been
part of the pch_phub_{read,write}_gbe_mac_addr() functions.

Squashes the following W=1 warnings:

drivers/misc/pch_phub.c:450: warning: Excess function parameter 'offset_address' description in 'pch_phub_read_gbe_mac_addr'
drivers/misc/pch_phub.c:462: warning: Excess function parameter 'offset_address' description in 'pch_phub_write_gbe_mac_addr'

Cc: Masayuki Ohtak <masa-korg@dsn.okisemi.com>
Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200701085853.164358-15-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
7b411871 0f8ab9bd

-2
-2
drivers/misc/pch_phub.c
··· 446 446 447 447 /** 448 448 * pch_phub_read_gbe_mac_addr() - Read Gigabit Ethernet MAC address 449 - * @offset_address: Gigabit Ethernet MAC address offset value. 450 449 * @chip: Pointer to the PHUB register structure 451 450 * @data: Buffer of the Gigabit Ethernet MAC address value. 452 451 */ ··· 458 459 459 460 /** 460 461 * pch_phub_write_gbe_mac_addr() - Write MAC address 461 - * @offset_address: Gigabit Ethernet MAC address offset value. 462 462 * @chip: Pointer to the PHUB register structure 463 463 * @data: Gigabit Ethernet MAC address value. 464 464 */