WSL2-Linux-Kernel/Documentation/driver-api/usb
Mauro Carvalho Chehab 1b7743912b usb: docs: document altmode register/unregister functions
The typec_bus.rst asks for documentation of those two
functions, but they don't exist:

	./drivers/usb/typec/bus.c:1: warning: 'typec_altmode_unregister_driver' not found
	./drivers/usb/typec/bus.c:1: warning: 'typec_altmode_register_driver' not found

Also, they're not declared on bus.c but, instead, at a header
file (typec_altmode.h).

So, add documentation for both functions at the header and
change the kernel-doc markup under typec_bus.rst to point
to the right place.

While here, also place the documentation for both structs
declared on typec_altmode.h at the rst file.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-10-15 07:49:48 +02:00
..
URB.rst docs: get rid of :c:type explicit declarations for structs 2020-10-15 07:49:40 +02:00
anchors.rst usb/anchors.txt: convert to ReST and add to driver-api book 2017-04-11 14:38:44 -06:00
bulk-streams.rst Replace HTTP links with HTTPS ones: documentation 2020-06-08 09:30:19 -06:00
callbacks.rst docs-rst: fix usb cross-references 2017-04-11 14:41:29 -06:00
dma.rst docs: fix references for DMA*.txt files 2020-06-26 10:01:32 -06:00
dwc3.rst usb: dwc3: gadget: remove duplicated missed isoc handling 2018-05-21 10:00:53 +03:00
error-codes.rst docs-rst: fix usb cross-references 2017-04-11 14:41:29 -06:00
gadget.rst docs: get rid of :c:type explicit declarations for structs 2020-10-15 07:49:40 +02:00
hotplug.rst docs: get rid of :c:type explicit declarations for structs 2020-10-15 07:49:40 +02:00
index.rst usb: typec: Improve Alt Mode documentation 2018-12-19 08:13:25 +01:00
persist.rst docs-rst: fix usb cross-references 2017-04-11 14:41:29 -06:00
power-management.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
typec.rst usb: typec: Improve Alt Mode documentation 2018-12-19 08:13:25 +01:00
typec_bus.rst usb: docs: document altmode register/unregister functions 2020-10-15 07:49:48 +02:00
usb.rst Documentation: fix usb related doc refs 2017-10-12 11:15:48 -06:00
usb3-debug-port.rst usb: doc: Update document for USB3 debug port usage 2017-12-21 13:39:30 -07:00
writing_musb_glue_layer.rst Replace HTTP links with HTTPS ones: documentation 2020-06-08 09:30:19 -06:00
writing_usb_driver.rst Replace HTTP links with HTTPS ones: Documentation/driver-api 2020-06-26 11:09:04 -06:00