[PATCH 17/32] usb: host: ehci-fsl: Fix incorrectly named function argument
Lee Jones
lee.jones at linaro.org
Mon Jul 6 09:33:26 EDT 2020
Fixes the following W=1 kernel build warning(s):
drivers/usb/host/ehci-fsl.c:694: warning: Function parameter or member 'pdev' not described in 'fsl_ehci_drv_remove'
drivers/usb/host/ehci-fsl.c:694: warning: Excess function parameter 'dev' description in 'fsl_ehci_drv_remove'
Cc: Alan Stern <stern at rowland.harvard.edu>
Cc: Randy Vinson <rvinson at mvista.com>
Cc: Dave Liu <daveliu at freescale.com>
Cc: Jerry Huang <Chang-Ming.Huang at freescale.com>
Cc: Anton Vorontsov <avorontsov at ru.mvista.com>
Signed-off-by: Lee Jones <lee.jones at linaro.org>
---
drivers/usb/host/ehci-fsl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 9e9c232e896fa..1ebe4d425277d 100644
--- a/drivers/usb/host/ehci-fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -683,7 +683,7 @@ static const struct ehci_driver_overrides ehci_fsl_overrides __initconst = {
/**
* fsl_ehci_drv_remove - shutdown processing for FSL-based HCDs
- * @dev: USB Host Controller being removed
+ * @pdev: USB Host Controller being removed
* Context: !in_interrupt()
*
* Reverses the effect of usb_hcd_fsl_probe().
--
2.25.1
More information about the linux-arm-kernel
mailing list