s390/tty3270: add AID defines
authorSven Schnelle <svens@linux.ibm.com>
Mon, 28 Nov 2022 18:40:44 +0000 (19:40 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:33:59 +0000 (14:33 +0100)
commite22de7d7910ab9490b191da5fac0592214b340d5
tree48c99d512731f607c5ba13c67eee8eae4618b543
parent970cf9a97a27d3f9a72a17aa6aedb47758478c33
s390/tty3270: add AID defines

Use AID_* instead of hex numbers to make the code a bit
easier to read. also convert the if/else blocks to a
switch statement in tty3270_read_tasklet().

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
drivers/s390/char/raw3270.h