Jiri Slaby 42ad25fc46 mxser: rework and simplify mxser_open
In mxser_open, tty->port is already set thanks to
tty_port_register_device in ->probe. So we can simply use container_of
to deduce the struct mxser_port's pointer. Thus avoiding divisions and
complex computations.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-51-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-18 13:10:02 +02:00
..
2021-06-11 17:57:24 +02:00
2021-05-05 13:24:11 -07:00
2021-04-18 09:36:56 +03:00
2021-06-12 11:59:58 -07:00
2021-06-14 09:14:43 +02:00
2021-06-12 12:13:55 -07:00
2021-04-28 15:59:13 -07:00
2021-05-23 11:39:02 +02:00
2021-04-26 12:11:52 -07:00
2021-04-27 18:09:44 -07:00
2021-05-01 10:14:08 -07:00
2021-04-08 19:18:07 +02:00
2021-05-31 09:44:28 +02:00
2021-06-12 11:59:58 -07:00
2021-04-28 15:59:13 -07:00
2021-06-14 09:14:43 +02:00
2021-06-14 09:14:43 +02:00
2021-06-14 09:14:43 +02:00
2021-05-01 10:14:08 -07:00
2021-05-05 12:53:16 -07:00
2021-06-08 09:41:16 -07:00
2021-05-04 11:13:33 -07:00
2021-05-05 13:24:11 -07:00
2021-05-03 12:15:21 -07:00
2021-05-31 09:44:28 +02:00
2021-06-13 12:25:33 -07:00
2021-06-05 15:43:11 -07:00
2021-06-18 13:10:02 +02:00
2021-05-05 13:31:39 -07:00
2021-04-28 15:59:13 -07:00
2021-05-05 13:31:39 -07:00