net: cavium: Fix a bunch of kerneldoc parameter issues
authorWang Hai <wanghai38@huawei.com>
Wed, 9 Sep 2020 13:21:09 +0000 (21:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 21:11:58 +0000 (14:11 -0700)
commit74c654a852fe94f7d5ea5ebc49f2ce6fd1a551e6
tree30b4eebec95e14b2e2761e8d1d45e1c3a0121bda
parent76f919ebffe2f666e317ef7cf4a2968590243336
net: cavium: Fix a bunch of kerneldoc parameter issues

Rename ptp to ptp_info.

Fix W=1 compile warnings (invalid kerneldoc):

drivers/net/ethernet/cavium/common/cavium_ptp.c:94: warning: Excess function parameter 'ptp' description in 'cavium_ptp_adjfine'
drivers/net/ethernet/cavium/common/cavium_ptp.c:141: warning: Excess function parameter 'ptp' description in 'cavium_ptp_adjtime'
drivers/net/ethernet/cavium/common/cavium_ptp.c:163: warning: Excess function parameter 'ptp' description in 'cavium_ptp_gettime'
drivers/net/ethernet/cavium/common/cavium_ptp.c:185: warning: Excess function parameter 'ptp' description in 'cavium_ptp_settime'
drivers/net/ethernet/cavium/common/cavium_ptp.c:208: warning: Excess function parameter 'ptp' description in 'cavium_ptp_enable'

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/common/cavium_ptp.c