stmmac: intel: fix wrong kernel-doc
authorWong Vee Khee <vee.khee.wong@linux.intel.com>
Fri, 11 Jun 2021 13:16:09 +0000 (21:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 12 Jun 2021 20:10:52 +0000 (13:10 -0700)
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>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c

index a38e47e..e0a7d2b 100644 (file)
@@ -1087,7 +1087,7 @@ err_alloc_irq:
 /**
  * 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.
  */