[PATCH 0/4] assorted TTY code cleanups

Nicolas Pitre
2017-04-12T22:38:18Z

Those are, I hope, fairly uncontrovertial patches that should require very
little review as they mostly do code movement providing nice cleanups.
No logical changes are introduced by those patches.

My minitty patch series is based on top of this, and given the timing,
I don't expect it to go upstream just yet. However the following patches
could be merged separately for the next merge window.

Overall diffstat:

drivers/tty/Makefile | 3 +-
drivers/tty/serial/Makefile | 3 +-
drivers/tty/tty_baudrate.c | 232 ++++++++++++++++++
drivers/tty/tty_io.c | 571 +-------------------------------------------
drivers/tty/tty_ioctl.c | 222 -----------------
drivers/tty/tty_jobctrl.c | 554 ++++++++++++++++++++++++++++++++++++++++++
include/linux/console.h | 2 +
include/linux/tty.h | 13 +-
init/main.c | 2 +-
kernel/printk/printk.c | 24 ++
10 files changed, 838 insertions(+), 788 deletions(-)