serial: st-asc: Avoid using irq_wake flag
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 13 Aug 2017 14:47:40 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 18:51:19 +0000 (20:51 +0200)
commit7b8a0353f39d579a654d5920e656f2f91006b6c1
treeb3e484f08beee9771d10617aaa85c651ea863acc
parent3d6bcddf5490e86f2fb384329ce6bb8c36dc69a0
serial: st-asc: 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: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/st-asc.c