OpenCloudOS-Kernel/Documentation/driver-api/serial
Jiri Slaby 28f194da4a tty: make tty_ldisc_ops::hangup return void
The documentation says that the return value of tty_ldisc_ops::hangup
hook is ignored. And it really is, so there is no point for its return
type to be int. Switch it to void and all the hooks too.

Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210914091134.17426-4-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 16:59:13 +02:00
..
driver.rst docs: serial: move it to the driver-api 2019-07-15 11:03:03 -03:00
index.rst Remove link to nonexistent rocket driver docs 2021-05-11 11:02:39 -06:00
moxa-smartio.rst mxser: Documentation, fix typos 2021-06-18 13:10:03 +02:00
n_gsm.rst tty: n_gsm: Add some instructions and code for requester 2021-09-14 10:50:27 +02:00
serial-iso7816.rst docs: serial: move it to the driver-api 2019-07-15 11:03:03 -03:00
serial-rs485.rst docs: serial: move it to the driver-api 2019-07-15 11:03:03 -03:00
tty.rst tty: make tty_ldisc_ops::hangup return void 2021-09-22 16:59:13 +02:00