[RFC PATCH 0/4] serial: uartps: Dynamic allocation

From: Michal Simek
Date: Fri Jul 21 2017 - 05:32:41 EST


Hi Alan,

this is the initial version before next step which is move
uart_register_driver to probe function.
I was able to get rid of static array with uart_port structures.
It was wired with console which is also fixed.
And the next step is the most complicated one handle .nr in uart_driver
structure in more generic way.

Thanks,
Michal


Michal Simek (4):
serial: uartps: Remove console_initcall from the driver
serial: uartps: Use dynamic array for console port
serial: uartps: Move cnds_uart_get_port to probe
serial: uartps: Remove static port array

drivers/tty/serial/xilinx_uartps.c | 102 +++++++++++++++----------------------
1 file changed, 40 insertions(+), 62 deletions(-)

--
1.9.1