mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] usb: typec: fix kernel-doc parameter warning
@ 2018-09-03  2:30 Randy Dunlap
  2018-09-03  7:20 ` Heikki Krogerus
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-09-03  2:30 UTC (permalink / raw)
  To: LKML, USB list; +Cc: Heikki Krogerus, Greg Kroah-Hartman

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(-)

--- 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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb: typec: fix kernel-doc parameter warning
  2018-09-03  2:30 [PATCH] usb: typec: fix kernel-doc parameter warning Randy Dunlap
@ 2018-09-03  7:20 ` Heikki Krogerus
  0 siblings, 0 replies; 2+ messages in thread
From: Heikki Krogerus @ 2018-09-03  7:20 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, USB list, Greg Kroah-Hartman

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,

-- 
heikki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-03  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03  2:30 [PATCH] usb: typec: fix kernel-doc parameter warning Randy Dunlap
2018-09-03  7:20 ` Heikki Krogerus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome