Skip to content

Commit

Permalink
stmmac: intel: fix wrong kernel-doc
Browse files Browse the repository at this point in the history
Kernel-doc for intel_eth_pci_remove is incorrect, pdev datatype is
struct pci_dev. Changed it to the 'pci device pointer'.

Signed-off-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
wvk86 authored and ranjan-dutta committed Jun 21, 2021
1 parent 0f62f8c commit 49910b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ static int intel_eth_pci_probe(struct pci_dev *pdev,
/**
* intel_eth_pci_remove
*
* @pdev: platform device pointer
* @pdev: pci device pointer
* Description: this function calls the main to free the net resources
* and releases the PCI resources.
*/
Expand Down

0 comments on commit 49910b5

Please sign in to comment.