tty: serial: imx: remove imx_disable_rx_int
authorTroy Kisky <troy.kisky@boundarydevices.com>
Thu, 16 Nov 2017 18:14:53 +0000 (11:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 14:35:51 +0000 (15:35 +0100)
commit1f043572cbbee03f1de814e312f9dc11251fdc5a
treea771a459367b439a7166921348b8fbd6376352fc
parentd3a96c94163b7c577f4505168d0041ce9ee32a96
tty: serial: imx: remove imx_disable_rx_int

Since imx_disable_rx_int is only called by imx_startup,
let's integrate it into that function. Notice UCR2_ATEN is
never set by the driver. The bit is still cleaned to make
this patch a noop.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Acked-by: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c