ata: ahci_platform: correct parameter documentation for ahci_platform_shutdown
authorCorentin Labbe <clabbe@baylibre.com>
Thu, 12 Jul 2018 11:41:29 +0000 (11:41 +0000)
committerTejun Heo <tj@kernel.org>
Thu, 12 Jul 2018 20:02:38 +0000 (13:02 -0700)
The documentation about parameter for ahci_platform_shutdown has a typo.

This fix the following build warning:
drivers/ata/libahci_platform.c:693: warning: Function parameter or member 'pdev' not described in 'ahci_platform_shutdown'
drivers/ata/libahci_platform.c:693: warning: Excess function parameter 'dev' description in 'ahci_platform_shutdow

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libahci_platform.c

index feee2e11fb3373e11eb6b6e77add8c4353bc7a39..70052c04655985eec48ebb9836c8d3936d35917c 100644 (file)
@@ -607,7 +607,7 @@ static void ahci_host_stop(struct ata_host *host)
 
 /**
  * ahci_platform_shutdown - Disable interrupts and stop DMA for host ports
- * @dev: platform device pointer for the host
+ * @pdev: platform device pointer for the host
  *
  * This function is called during system shutdown and performs the minimal
  * deconfiguration required to ensure that an ahci_platform host cannot