OpenCloudOS-Kernel/drivers/usb/typec
Prashant Malani 52a0372a38 usb: typec: Fix num_altmodes kernel-doc error
The commit to introduce the num_altmodes attribute for partner had an
error where one of the parameters was named differently in the comment
and the function signature. Fix the version in the comment to align with
what is in the function signature.

This fixes the following htmldocs warning:

drivers/usb/typec/class.c:632: warning: Excess function parameter 'num_alt_modes' description in 'typec_partner_set_num_altmodes'

Fixes: a0ccdc4a77 ("usb: typec: Add number of altmodes partner attr")
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20201120063523.4159877-1-pmalani@chromium.org
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-20 09:41:46 +01:00
..
altmodes usb: typec: displayport: Reduce noise from the driver 2020-10-02 11:30:10 +02:00
mux usb: typec: intel_pmc_mux: Configure Thunderbolt cable generation bits 2020-11-18 12:53:45 +01:00
tcpm usb: typec: tcpci_maxim: Fix the compatible string 2020-11-18 12:58:48 +01:00
ucsi Merge 5.10-rc4 into here. 2020-11-16 09:16:56 +01:00
Kconfig usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
Makefile usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
bus.c usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer 2020-04-22 19:23:19 +02:00
bus.h usb: typec: altmode: Remove the notification chain 2020-02-12 10:51:21 -08:00
class.c usb: typec: Fix num_altmodes kernel-doc error 2020-11-20 09:41:46 +01:00
hd3ss3220.c usb: typec: hd3ss3220: Use OF graph API to get the connector fwnode 2020-10-02 15:28:18 +02:00
mux.c usb: fix kernel-doc markups 2020-10-28 13:18:56 +01:00
qcom-pmic-typec.c usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
stusb160x.c usb: typec: stusb160x: fix signedness comparison issue with enum variables 2020-10-29 08:26:08 +01:00
tps6598x.c usb: typec: Replace HTTP links with HTTPS ones 2020-07-15 16:33:50 +02:00