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

Use uart_circ_empty() instead of open coding it.

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