serial: lpuart: Proper device identification
authorSriram Dash <sriram.dash@nxp.com>
Wed, 10 Jan 2018 06:27:14 +0000 (11:57 +0530)
committerYork Sun <york.sun@nxp.com>
Mon, 15 Jan 2018 20:44:09 +0000 (12:44 -0800)
commita2bbfc54805a1278cc3901e17923220c74fb8e83
tree8b201cf1112c735c249f25ba236b43f47a83a305
parentb0ce187b1f8dfa30e3885caa7dca8c1742def973
serial: lpuart: Proper device identification

Identify and distinguish between platform device type of MX7ULP
and LS1021A.

This is a fix to commit 7edf5c45("serial: lpuart: add i.MX7ULP
support").

Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/serial/serial_lpuart.c