]> git.baikalelectronics.ru Git - kernel.git/commit
amiserial: switch rs_table to a single state
authorJiri Slaby <jslaby@suse.cz>
Wed, 14 Jul 2021 09:13:13 +0000 (11:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 10:49:51 +0000 (12:49 +0200)
commitcf1f6804b04b07e8ee4485a98d9a3668a312b86f
treeab0efb5838f5d040aec74ba8ba22ba60c7c81fd0
parentdd071193b3f00292d21e925378962903b20a64cf
amiserial: switch rs_table to a single state

amiserial deals only with a single serial, so drop the rs_table array
and NR_PORTS and define a single non-array serial_state for simplicity
instead.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210714091314.8292-10-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c