/openbmc/linux/include/linux/ |
H A D | tty_port.h | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/mmc/core/ |
H A D | sdio_uart.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/tty/ |
H A D | moxa.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | amiserial.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | mxser.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | tty_port.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | synclink_gt.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
H A D | n_gsm.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | tty.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/usb/serial/ |
H A D | usb-serial.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_core.c | diff b300fb26c59a749bf49559932fa8a85eb916b5a7 Tue Jan 17 03:03:52 CST 2023 Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> tty: Convert ->carrier_raised() and callchains to bool
Return boolean from ->carrier_raised() instead of 0 and 1. Make the return type change also to tty_port_carrier_raised() that makes the ->carrier_raised() call (+ cd variable in moxa into which its return value is stored).
Also cleans up a few unnecessary constructs related to this change:
return xx ? 1 : 0; -> return xx;
if (xx) return 1; return 0; -> return xx;
Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For MMC Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230117090358.4796-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|