projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658027a
)
usb: typec: Comment correction for typec_partner_register_altmode
author
Kyle Tso
<kyletso@google.com>
Tue, 14 Jul 2020 03:34:52 +0000
(11:34 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 11:38:21 +0000
(13:38 +0200)
typec_register_altmode returns ERR_PTR on failure.
Signed-off-by: Kyle Tso <kyletso@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link:
https://lore.kernel.org/r/20200714033453.4044482-2-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/class.c
patch
|
blob
|
history
diff --git
a/drivers/usb/typec/class.c
b/drivers/usb/typec/class.c
index c9234748537a3b13e420c125edab9a7f6f00bc0f..02655694f200ab43102ed2c2d447e0e9d6422112 100644
(file)
--- a/
drivers/usb/typec/class.c
+++ b/
drivers/usb/typec/class.c
@@
-580,7
+580,7
@@
EXPORT_SYMBOL_GPL(typec_partner_set_identity);
* SVID listed in response to Discover Modes command need to be listed in an
* array in @desc.
*
- * Returns handle to the alternate mode on success or
NULL
on failure.
+ * Returns handle to the alternate mode on success or
ERR_PTR
on failure.
*/
struct typec_altmode *
typec_partner_register_altmode(struct typec_partner *partner,