Align the modem-control status operands as was originally indented.

Signed-off-by: Johan Hovold <jhov...@gmail.com>
---
 drivers/usb/serial/ftdi_sio.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index f906b3a..5fc2f1f 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -2318,10 +2318,10 @@ static int ftdi_tiocmget(struct tty_struct *tty)
        if (ret < 0)
                goto out;
 
-       ret = (buf[0] & FTDI_SIO_DSR_MASK ? TIOCM_DSR : 0) |
-               (buf[0] & FTDI_SIO_CTS_MASK ? TIOCM_CTS : 0) |
-               (buf[0]  & FTDI_SIO_RI_MASK  ? TIOCM_RI  : 0) |
-               (buf[0]  & FTDI_SIO_RLSD_MASK ? TIOCM_CD  : 0) |
+       ret =   (buf[0] & FTDI_SIO_DSR_MASK  ? TIOCM_DSR : 0) |
+               (buf[0] & FTDI_SIO_CTS_MASK  ? TIOCM_CTS : 0) |
+               (buf[0] & FTDI_SIO_RI_MASK   ? TIOCM_RI  : 0) |
+               (buf[0] & FTDI_SIO_RLSD_MASK ? TIOCM_CD  : 0) |
                priv->last_dtr_rts;
 out:
        kfree(buf);
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to