Staging: gdm724x: fix line over 80 characters in gdm_tty.c
authorEbru Akagunduz <ebru.akagunduz@gmail.com>
Thu, 10 Oct 2013 12:08:32 +0000 (15:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 20:09:57 +0000 (13:09 -0700)
Fix checkpatch.pl issues wtih line over 80 characters
in gdm_tty.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_tty.c

index 0247a2055e8d68097388c6aaf9331a6b5ea4800c..c0f7cd75116b1f294b90b6373cdb594e07a2c53e 100644 (file)
@@ -171,7 +171,8 @@ static void gdm_tty_send_complete(void *arg)
        tty_port_tty_wakeup(&gdm->port);
 }
 
-static int gdm_tty_write(struct tty_struct *tty, const unsigned char *buf, int len)
+static int gdm_tty_write(struct tty_struct *tty, const unsigned char *buf,
+                        int len)
 {
        struct gdm *gdm = tty->driver_data;
        int remain = len;
@@ -185,7 +186,8 @@ static int gdm_tty_write(struct tty_struct *tty, const unsigned char *buf, int l
                return 0;
 
        while (1) {
-               sending_len = remain > MUX_TX_MAX_SIZE ? MUX_TX_MAX_SIZE : remain;
+               sending_len = remain > MUX_TX_MAX_SIZE ? MUX_TX_MAX_SIZE :
+                                                        remain;
                gdm_tty_send(gdm,
                             (void *)(buf+sent_len),
                             sending_len,
@@ -247,7 +249,8 @@ int register_lte_tty_device(struct tty_dev *tty_dev, struct device *device)
                gdm->minor = j;
                gdm->tty_dev = tty_dev;
 
-               tty_port_register_device(&gdm->port, gdm_driver[i], gdm->minor, device);
+               tty_port_register_device(&gdm->port, gdm_driver[i],
+                                        gdm->minor, device);
        }
 
        for (i = 0; i < MAX_ISSUE_NUM; i++)
@@ -309,7 +312,8 @@ int register_lte_tty_driver(void)
                tty_driver->major = GDM_TTY_MAJOR;
                tty_driver->type = TTY_DRIVER_TYPE_SERIAL;
                tty_driver->subtype = SERIAL_TYPE_NORMAL;
-               tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
+               tty_driver->flags = TTY_DRIVER_REAL_RAW |
+                                       TTY_DRIVER_DYNAMIC_DEV;
                tty_driver->init_termios = tty_std_termios;
                tty_driver->init_termios.c_cflag = B9600 | CS8 | HUPCL | CLOCAL;
                tty_driver->init_termios.c_lflag = ISIG | ICANON | IEXTEN;