From: Corentin Labbe Date: Thu, 12 Jul 2018 11:41:29 +0000 (+0000) Subject: ata: ahci_platform: correct parameter documentation for ahci_platform_shutdown X-Git-Tag: v4.19-rc1~18^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7cf5fc65f9efe0838fcea4e04f48bafa6ee6eae6;p=thirdparty%2Fkernel%2Flinux.git ata: ahci_platform: correct parameter documentation for ahci_platform_shutdown 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 Reviewed-by: Hans de Goede Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index feee2e11fb337..70052c0465598 100644 --- a/drivers/ata/libahci_platform.c +++ b/drivers/ata/libahci_platform.c @@ -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