OSDN Git Service

usb/typec: fix kernel-doc notation warning for typec_match_altmode
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 3 Sep 2018 19:58:35 +0000 (12:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 12:36:53 +0000 (14:36 +0200)
commit40de5fe4f45c5b804ea085d7e3f1a72fc6705929
tree86020c1c9d3931a6572826a666a833d29133e3b7
parentf3dc41c5d22b2ca14a0802a65d8cdc33a3882d4e
usb/typec: fix kernel-doc notation warning for typec_match_altmode

Fix kernel-doc warning for missing function parameter 'mode' description:

../drivers/usb/typec/bus.c:268: warning: Function parameter or member 'mode' not described in 'typec_match_altmode'

Also fix typos for same function documentation.

Fixes: 8a37d87d72f0 ("usb: typec: Bus type for alternate modes")

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/bus.c