tty: serial: qcom_geni_serial: Use min3 to find minimum of 3 values
authorKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
Thu, 3 May 2018 20:14:35 +0000 (14:14 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2018 11:44:55 +0000 (13:44 +0200)
commit8e70c47c48d2563cf9c64e9f512668a834c45bf6
treea649923835b24b87d36de3eb7f43e7df92ea35f0
parent6a10635e90e8cb000e6aa8f1292f5aed4c8369e3
tty: serial: qcom_geni_serial: Use min3 to find minimum of 3 values

Use min3 helper to calculate the minimum value of 3 variables.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c