tty/serial: Make ->dcd_change()+uart_handle_dcd_change() status bool active
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 17 Jan 2023 09:03:54 +0000 (11:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 15:04:35 +0000 (16:04 +0100)
commit0388a152fc5544be82e736343496f99c4eef8d62
tree7b848d18638016f52d4866296ef13a256c1cb8f9
parent5d420399073770134d2b03e004b2c0201c7fa26f
tty/serial: Make ->dcd_change()+uart_handle_dcd_change() status bool active

Convert status parameter for ->dcd_change() and
uart_handle_dcd_change() to bool which matches to how the parameter is
used.

Rename status to active to better describe what the parameter means.

Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230117090358.4796-9-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pps/clients/pps-ldisc.c
drivers/tty/serial/serial_core.c
drivers/tty/serial/sunhv.c
include/linux/serial_core.h
include/linux/tty_ldisc.h