Documentation: serial: move GPIO kernel-doc to the functions
authorJiri Slaby <jslaby@suse.cz>
Thu, 28 Jul 2022 06:10:53 +0000 (08:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jul 2022 08:37:42 +0000 (10:37 +0200)
commit27940abd555228fdda39a40081ae02450c500f35
tree2453814135bb21b4eae167a184584e8250d46a9a
parentc4bd17a6ddf3b92bf9d7939ae251570ace14bb52
Documentation: serial: move GPIO kernel-doc to the functions

The GPIO uart functions are documented in Documentation. Move and
transform this documentation into kernel-doc directly in the code and
reference it in Documentation using kernel-doc:.

This makes it easier to update, maintain and check by the build.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220728061056.20799-3-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-api/serial/driver.rst
drivers/tty/serial/serial_mctrl_gpio.c