serial: lpuart: Prepare the driver for DM conversion
authorBin Meng <bmeng.cn@gmail.com>
Thu, 14 Jan 2016 03:39:03 +0000 (19:39 -0800)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:10:14 +0000 (19:10 -0700)
commit6ca13b123989d6c462540dca70f8bdc379672c61
tree0fa1ca3cbe8f0aeb078c9cc20486f01aea36824b
parented3021af5c7ecd94298f9d70f1fdd8abdb4c545d
serial: lpuart: Prepare the driver for DM conversion

Create internal routines which take lpuart's register base as
a parameter, in preparation for driver model conversion.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_lpuart.c