[PATCH 00/10] tty: minor cleanups

From: Jiri Slaby (SUSE)
Date: Mon Jul 31 2023 - 04:04:48 EST


This is another round of minor cleanups in the tty/serial/related
drivers.

Jiri Slaby (SUSE) (10):
serial: move WARN_ON() in uart_write() to the condition
Bluetooth: rfcomm: remove casts from tty->driver_data
tty: hvsi: remove an extra variable from hvsi_write()
input: serport: remove casts from tty->disc_data
can: slcan: remove casts from tty->disc_data
serial: altera_jtaguart: switch status to u32
speakup: switch to unsigned iterator in spk_ttyio_receive_buf2()
misc: ti-st: remove forward declarations and make st_int_recv() static
misc: ti-st: remove ptr from recv functions
misc: ti-st: don't check for tty data == NULL

drivers/accessibility/speakup/spk_ttyio.c | 2 +-
drivers/input/serio/serport.c | 10 +++++-----
drivers/misc/ti-st/st_core.c | 11 +++--------
drivers/misc/ti-st/st_kim.c | 9 +--------
drivers/net/can/slcan/slcan-core.c | 8 ++++----
drivers/tty/hvc/hvsi.c | 3 +--
drivers/tty/serial/altera_jtaguart.c | 2 +-
drivers/tty/serial/serial_core.c | 8 ++------
net/bluetooth/rfcomm/tty.c | 22 +++++++++++-----------
9 files changed, 29 insertions(+), 46 deletions(-)

--
2.41.0