diff options
author | 2025-03-17 08:00:29 +0100 | |
---|---|---|
committer | 2025-03-20 08:00:51 -0700 | |
commit | 63f3cd5d80d720fc6c9fd321138bbbf322ade392 (patch) | |
tree | fb80b853fe6ce49073faa2c8e82c4a5e5ef388d1 /include/linux/serdev.h | |
parent | tty: tty_driver: convert "TTY Driver Flags" to an enum (diff) | |
download | wireguard-linux-63f3cd5d80d720fc6c9fd321138bbbf322ade392.tar.xz wireguard-linux-63f3cd5d80d720fc6c9fd321138bbbf322ade392.zip |
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>
Diffstat (limited to 'include/linux/serdev.h')
0 files changed, 0 insertions, 0 deletions