[PATCH v3 0/2] two fixes on sprd serial driver
From: Chunyan Zhang
Date: Wed Mar 18 2020 - 06:51:27 EST
From: Chunyan Zhang <chunyan.zhang@xxxxxxxxxx>
Changes from v2:
* Return -EINVAL for both kinds of errors for calling of_alias_get_id(),
to avoid return a positive value as error number if index is larger
than the array size;
* removed cleanup for sprd_port.
Chunyan Zhang (2):
serial: sprd: getting port index via serial alias only
serial: sprd: remove redundant sprd_port cleanup
drivers/tty/serial/sprd_serial.c | 40 +++++---------------------------
1 file changed, 6 insertions(+), 34 deletions(-)
--
2.20.1