[PATCH for 4.9 33/59] serial: 8250: moxa: Store num_ports in brd

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Matwey V. Kornilov" [ Upstream commit 9c4b60fe5313c125b1bf68ef04b0010512c27f2d ] When struct moxa8250_board is allocated, then num_ports should be initialized in order to use it later in moxa8250_remove. Signed-off-by: Matwey V. Kornilov

[PATCH for 4.9 33/59] serial: 8250: moxa: Store num_ports in brd

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Matwey V. Kornilov" [ Upstream commit 9c4b60fe5313c125b1bf68ef04b0010512c27f2d ] When struct moxa8250_board is allocated, then num_ports should be initialized in order to use it later in moxa8250_remove. Signed-off-by: Matwey V. Kornilov Signed-off-by: Greg Kroah-Hartman