serial: imx: reorder functions and simplify a bit
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 18 Oct 2015 19:34:47 +0000 (21:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Dec 2015 03:59:48 +0000 (19:59 -0800)
commitcc568849370bb131d896f4c5933cc72bf7ee603d
treed0bc82b97cf3d5e3ecba03b3c67093f9a28c8123
parent90ebc4838666d148eac5bbac6f4044e5b25cd2d6
serial: imx: reorder functions and simplify a bit

Now that imx_mctrl_check is implemented below imx_get_mctrl the former
can call the latter directly instead of via sport->port.ops->get_mctrl.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c