linux/drivers/tty/hvc
Uwe Kleine-König 7f30c19caf tty: hvc: Make hvc_remove() return no value
The function hvc_remove() returns zero unconditionally. Make it return
void instead to make it obvious that the caller doesn't need to do any
error handling. Accordingly drop the error handling from
hvc_opal_remove().

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Link: https://lore.kernel.org/r/20231105214406.3765906-5-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-23 19:31:08 +00:00
..
hvc_console.c tty: hvc: Make hvc_remove() return no value 2023-11-23 19:31:08 +00:00
hvc_console.h tty: hvc: Make hvc_remove() return no value 2023-11-23 19:31:08 +00:00
hvc_dcc.c tty: hvc: dcc: Bind driver to CPU core0 for reads and writes 2022-05-05 22:45:57 +02:00
hvc_irq.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hvc_iucv.c tty: Call ->dtr_rts() parameter active consistently 2023-01-19 16:04:35 +01:00
hvc_opal.c tty: hvc: Make hvc_remove() return no value 2023-11-23 19:31:08 +00:00
hvc_riscv_sbi.c tty: Don't force RISCV SBI console as preferred console 2019-05-16 20:42:11 -07:00
hvc_rtas.c tty: hvc: make hvc_rtas_dev static 2022-11-03 03:52:36 +01:00
hvc_udbg.c tty: hvc: make symbol 'hvc_udbg_dev' static 2021-04-10 10:41:40 +02:00
hvc_vio.c tty: hvc: Prepare cleanup of powerpc's asm/prom.h 2022-04-15 08:42:26 +02:00
hvc_xen.c hvc/xen: fix console unplug 2023-10-21 18:33:02 +02:00
hvcs.c TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
hvsi_lib.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hvsi.c tty: hvc: convert counts to size_t 2023-08-11 21:12:47 +02:00
Kconfig tty: hvc: dcc: Bind driver to CPU core0 for reads and writes 2022-05-05 22:45:57 +02:00
Makefile TTY/Serial driver patches for 4.17-rc1 2018-04-04 18:43:49 -07:00