staging: dgnc: Fix lines over 80 characters
authorRehas Sachdeva <aquannie@gmail.com>
Wed, 14 Sep 2016 15:08:24 +0000 (20:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 08:08:40 +0000 (10:08 +0200)
This patch fixes the checkpatch.pl warning:
Line over 80 characters.

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_neo.c

index 5ef5b3e45387d09ed48ea7827aeb5a72a069b203..8cd408c036f0403eb9cb76027c18c9c4d03b0acc 100644 (file)
@@ -401,7 +401,9 @@ static inline void neo_parse_isr(struct dgnc_board *brd, uint port)
                        /* Read data from uart -> queue */
                        neo_copy_data_from_uart_to_queue(ch);
 
-                       /* Call our tty layer to enforce queue flow control if needed. */
+                       /* Call our tty layer to enforce queue
+                        * flow control if needed.
+                        */
                        spin_lock_irqsave(&ch->ch_lock, flags);
                        dgnc_check_queue_flow_control(ch);
                        spin_unlock_irqrestore(&ch->ch_lock, flags);
@@ -424,7 +426,9 @@ static inline void neo_parse_isr(struct dgnc_board *brd, uint port)
                         * one it was, so we can suspend or resume data flow.
                         */
                        if (cause == UART_17158_XON_DETECT) {
-                               /* Is output stopped right now, if so, resume it */
+                               /* Is output stopped right now, if so,
+                                * resume it
+                                */
                                if (brd->channels[port]->ch_flags & CH_STOP) {
                                        spin_lock_irqsave(&ch->ch_lock,
                                                          flags);
@@ -445,8 +449,9 @@ static inline void neo_parse_isr(struct dgnc_board *brd, uint port)
 
                if (isr & UART_17158_IIR_HWFLOW_STATE_CHANGE) {
                        /*
-                        * If we get here, this means the hardware is doing auto flow control.
-                        * Check to see whether RTS/DTR or CTS/DSR caused this interrupt.
+                        * If we get here, this means the hardware is
+                        * doing auto flow control. Check to see whether
+                        * RTS/DTR or CTS/DSR caused this interrupt.
                         */
                        cause = readb(&ch->ch_neo_uart->mcr);
                        /* Which pin is doing auto flow? RTS or DTR? */
@@ -653,7 +658,9 @@ static void neo_param(struct tty_struct *tty)
                                4800,   9600,   19200,  38400 }
                };
 
-               /* Only use the TXPrint baud rate if the terminal unit is NOT open */
+               /* Only use the TXPrint baud rate if the terminal unit
+                * is NOT open
+                */
                if (!(ch->ch_tun.un_flags & UN_ISOPEN) &&
                    (un->un_type == DGNC_PRINT))
                        baud = C_BAUD(ch->ch_pun.un_tty) & 0xff;
@@ -776,7 +783,9 @@ static void neo_param(struct tty_struct *tty)
        if (ch->ch_digi.digi_flags & CTSPACE || ch->ch_c_cflag & CRTSCTS) {
                neo_set_cts_flow_control(ch);
        } else if (ch->ch_c_iflag & IXON) {
-               /* If start/stop is set to disable, then we should disable flow control */
+               /* If start/stop is set to disable, then we should
+                * disable flow control
+                */
                if ((ch->ch_startc == _POSIX_VDISABLE) ||
                    (ch->ch_stopc == _POSIX_VDISABLE))
                        neo_set_no_output_flow_control(ch);
@@ -789,7 +798,9 @@ static void neo_param(struct tty_struct *tty)
        if (ch->ch_digi.digi_flags & RTSPACE || ch->ch_c_cflag & CRTSCTS) {
                neo_set_rts_flow_control(ch);
        } else if (ch->ch_c_iflag & IXOFF) {
-               /* If start/stop is set to disable, then we should disable flow control */
+               /* If start/stop is set to disable, then we should
+                * disable flow control
+                */
                if ((ch->ch_startc == _POSIX_VDISABLE) ||
                    (ch->ch_stopc == _POSIX_VDISABLE))
                        neo_set_no_input_flow_control(ch);