serial: ucc_uart: Use uart_circ_empty()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 20 Mar 2023 13:50:08 +0000 (15:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2023 08:53:57 +0000 (10:53 +0200)
commitb7313f1d65d668ad0056ca1d93a9017ebb78aeaf
treef7bbcc5d4ff5d66cc7df81196b3d0acd29726e9f
parent7553574900f37847a25c4d572b13c512811604ed
serial: ucc_uart: Use uart_circ_empty()

Use uart_circ_empty() rather than open coding it.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230320135009.47170-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ucc_uart.c