2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/Documentation/driver-api/tty
Jiri Slaby (SUSE) 63f3cd5d80 tty: tty_driver: document both {,__}tty_alloc_driver() properly
__tty_alloc_driver()'s kernel-doc needed some care: describe the return
value using the standard "Returns:", and use the new enum tty_driver_flag
for @flags.

Then, the tty_alloc_driver() macro was undocumented, but referenced many
times in the docs. Copy the docs from the above (except the @owner
parameter, obviously).

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-15-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-03-20 08:00:51 -07:00
..
console.rst Documentation: add console.rst 2024-01-27 18:08:55 -08:00
index.rst Documentation: add console.rst 2024-01-27 18:08:55 -08:00
moxa-smartio.rst Documentation: tty: move moxa-smartio.rst to tty 2022-04-14 18:24:24 +02:00
n_gsm.rst tty: n_gsm: add ioctl for DLC config via ldisc handle 2023-03-29 10:50:48 +02:00
n_tty.rst
tty_buffer.rst tty: tty_buffer: use __tty_insert_flip_string_flags() in tty_insert_flip_char() 2023-08-22 14:58:15 +02:00
tty_driver.rst tty: tty_driver: document both {,__}tty_alloc_driver() properly 2025-03-20 08:00:51 -07:00
tty_internals.rst
tty_ioctl.rst tty: fix kernel-doc for functions in tty.h 2023-10-03 14:31:15 +02:00
tty_ldisc.rst
tty_port.rst
tty_struct.rst tty: convert "TTY Struct Flags" to an enum 2025-03-20 08:00:50 -07:00