diff mbox series

[14/21] ide: via82cxxx: Fix misdocumentation of via_set_speed()'s 'hwif' param

Message ID 20210602101722.2276638-15-lee.jones@linaro.org
State New
Headers show
Series Rid W=1 warnings from IDE | expand

Commit Message

Lee Jones June 2, 2021, 10:17 a.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/ide/via82cxxx.c:122: warning: Function parameter or member 'hwif' not described in 'via_set_speed'
 drivers/ide/via82cxxx.c:122: warning: Excess function parameter 'dev' description in 'via_set_speed'

Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/ide/via82cxxx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/ide/via82cxxx.c b/drivers/ide/via82cxxx.c
index 166feaeed6e38..9beb25cfa5436 100644
--- a/drivers/ide/via82cxxx.c
+++ b/drivers/ide/via82cxxx.c
@@ -111,7 +111,7 @@  struct via82cxxx_dev
 
 /**
  *	via_set_speed			-	write timing registers
- *	@dev: PCI device
+ *	@hwif: IDE interface
  *	@dn: device
  *	@timing: IDE timing data to use
  *