diff mbox series

usb: typec: fix kernel-doc parameter warning

Message ID 0b58da39-55af-b00c-95d2-14fb26fb70b8@infradead.org (mailing list archive)
State New, archived
Headers show
Series usb: typec: fix kernel-doc parameter warning | expand

Commit Message

Randy Dunlap Sept. 3, 2018, 2:30 a.m. UTC
From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warning (13 times):

../drivers/usb/typec/class.c:1497: warning: Excess function parameter 'drvdata' description in 'typec_port_register_altmode'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
---
 drivers/usb/typec/class.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Heikki Krogerus Sept. 3, 2018, 7:20 a.m. UTC | #1
On Sun, Sep 02, 2018 at 07:30:48PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix kernel-doc warning (13 times):
> 
> ../drivers/usb/typec/class.c:1497: warning: Excess function parameter 'drvdata' description in 'typec_port_register_altmode'
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

> ---
>  drivers/usb/typec/class.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> --- lnx-419-rc2.orig/drivers/usb/typec/class.c
> +++ lnx-419-rc2/drivers/usb/typec/class.c
> @@ -1484,7 +1484,6 @@ EXPORT_SYMBOL_GPL(typec_set_mode);
>   * typec_port_register_altmode - Register USB Type-C Port Alternate Mode
>   * @port: USB Type-C Port that supports the alternate mode
>   * @desc: Description of the alternate mode
> - * @drvdata: Private pointer to driver specific info
>   *
>   * This routine is used to register an alternate mode that @port is capable of
>   * supporting.
> 

Thanks,
diff mbox series

Patch

--- lnx-419-rc2.orig/drivers/usb/typec/class.c
+++ lnx-419-rc2/drivers/usb/typec/class.c
@@ -1484,7 +1484,6 @@  EXPORT_SYMBOL_GPL(typec_set_mode);
  * typec_port_register_altmode - Register USB Type-C Port Alternate Mode
  * @port: USB Type-C Port that supports the alternate mode
  * @desc: Description of the alternate mode
- * @drvdata: Private pointer to driver specific info
  *
  * This routine is used to register an alternate mode that @port is capable of
  * supporting.