serial: mxc: Move common init into _mxc_serial_init
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 6 Jun 2017 05:31:48 +0000 (05:31 +0000)
committerStefano Babic <sbabic@denx.de>
Wed, 12 Jul 2017 07:42:33 +0000 (09:42 +0200)
commit97548d59478afec7e8041ed8463cc5248a61f30b
treede2aa517f00449e1a8a559a659bdca708433b9fe
parent57d3e98f570a8d4cd0dac9c738d4574e00872d90
serial: mxc: Move common init into _mxc_serial_init

Move the common initialization code into _mxc_serial_init
so-that dm and non-dm can call this func.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_mxc.c