linux/arch/xtensa/platforms
Jiri Slaby (SUSE) ebf9ec7a45 tty: xtensa/iss: drop unneeded tty_operations hooks
All ::flush_chars(), ::hangup(), and ::wait_until_sent() from struct
tty_operations are optional. There is no need to provide them with
empty bodies.

tty_operations::put_char() needs not be provided if it is the same as
tty_operations::write(tty, &ch, 1).

So drop all of them.

Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Link: https://lore.kernel.org/r/20230810091510.13006-2-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-08-11 21:12:44 +02:00
..
iss tty: xtensa/iss: drop unneeded tty_operations hooks 2023-08-11 21:12:44 +02:00
xt2000 xtensa: drop platform_halt and platform_power_off 2023-06-12 19:48:56 -07:00
xtfpga xtensa: drop platform_halt and platform_power_off 2023-06-12 19:48:56 -07:00
Makefile xtensa: move core-y in arch/xtensa/Makefile to arch/xtensa/Kbuild 2021-08-11 11:37:13 -07:00