Files
linux/drivers/tty
Jiri Slaby (SUSE) da218406dd serial: 8250_platform: simplify IRQF_SHARED handling
IRQF_SHARED is the only flag handled in __serial8250_isa_init_ports()
and serial8250_probe_platform(). There is no need to precompute the
flags. Instead, initialize port->irqflags directly in the for loop.

Note the "if (bool)" is cheap and these are not hot paths anyway.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://patch.msgid.link/20251119092457.826789-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-11-21 18:31:27 +01:00
..
2025-09-15 08:27:31 +02:00
2025-11-21 18:30:40 +01:00
2025-08-17 12:46:26 +02:00
2025-11-21 18:30:40 +01:00
2023-08-11 21:12:47 +02:00
2025-11-21 18:30:40 +01:00
2023-12-08 12:02:38 +01:00
2025-11-21 18:30:39 +01:00
2025-08-13 17:42:26 +02:00
2025-04-25 13:46:31 +02:00
2022-09-22 16:12:34 +02:00
2025-08-17 12:46:26 +02:00