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

net: ethernet: stmmac: fix documentation warning

This patch remove the following documentation warning
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c:103: warning: Excess function parameter 'priv' description in 'stmmac_axi_setup'
It was introduced in commit afea03656add7 ("stmmac: rework DMA bus setting and introduce new platform AXI structure")

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Corentin Labbe and committed by
David S. Miller
014dd768 56c266dc

-1
-1
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
··· 94 94 /** 95 95 * stmmac_axi_setup - parse DT parameters for programming the AXI register 96 96 * @pdev: platform device 97 - * @priv: driver private struct. 98 97 * Description: 99 98 * if required, from device-tree the AXI internal register can be tuned 100 99 * by using platform parameters.