tty: serial: qcom-geni-serial: refactor qcom_geni_serial_isr()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 29 Dec 2022 15:50:23 +0000 (16:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 14:08:25 +0000 (15:08 +0100)
commitfe6a00e8fcbecc8af36f8ba3b7bd5c8d28b10f05
tree3452d8b492b581c53d7488cb2bbffed96ecfc552
parent2f853f83f4bae34887723c7b32db8277bd489ca2
tty: serial: qcom-geni-serial: refactor qcom_geni_serial_isr()

Simplify the conditions in qcom_geni_serial_isr() and fix indentation.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20221229155030.418800-8-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c