serial: lpuart: Call local version of setbrg and putc directly
authorBin Meng <bmeng.cn@gmail.com>
Thu, 14 Jan 2016 03:39:02 +0000 (19:39 -0800)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:10:14 +0000 (19:10 -0700)
commited3021af5c7ecd94298f9d70f1fdd8abdb4c545d
treead10090cfb9b35d11a87be8b66f8f6843cd2b469
parent47f1bfca404ab6d61c7d384183d82a5f9c14d09b
serial: lpuart: Call local version of setbrg and putc directly

There is no need to go through serial driver subsystem, instead
call the driver's setbrg and putc routines directly.

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