s390/tty3270: add 3270 datastream helpers
authorSven Schnelle <svens@linux.ibm.com>
Sun, 27 Nov 2022 19:43:53 +0000 (20:43 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:00 +0000 (14:34 +0100)
commitae6572445b168ead43c0bfcb1fb2712968f43d1e
treecf20e28236c3bb12605159d2da9fa3bde5133340
parent6e49017ce41473daf1bef818c5dcc4a1e4a41252
s390/tty3270: add 3270 datastream helpers

There are lots of places adding attributes or orders to the datastream.
Add a few helpers to make that code shorter and easier to read.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/con3270.c