mxser: cleanup Gpci_uart_info struct
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:11 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:09:58 +0000 (13:09 +0200)
commitdc33f644f1cbcf333eb13e213f2e4af82af1dfcd
treec2fc60e222bfa83eaf54a8e9ae119c080aaa8267
parent4463cc5b8cbeb38cf1bf4b25ac285a9cd10a7f2b
mxser: cleanup Gpci_uart_info struct

The Gpci_uart_info structure contains up to tripled information and
chose weird types for the members. Deduplicate the members and choose
proper types for the data -- everything can be u8 except baud rate.
There, we use speed_t, which is used in this context.

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