serial: fsl_lpuart: Avoid using irq_wake flag
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 13 Aug 2017 14:47:39 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:19 +0000 (20:51 +0200)
commit3d6bcddf5490e86f2fb384329ce6bb8c36dc69a0
treed09647d9943042ae16c4b4265fac92703bb3a26c
parent4d691f75924171787bce2853eb236f89b62ec736
serial: fsl_lpuart: Avoid using irq_wake flag

There is no need to duplicate a flag which IRQ core takes care of.

Replace custom flag by IRQ core API that retrieves its state.

Cc: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Cc: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c