]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: gdm724x: gdm_tty.c: fix missing blank line after variable declaration
authorKiran Padwal <kiran.padwal21@gmail.com>
Thu, 17 Jul 2014 04:05:18 +0000 (09:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:05:47 +0000 (18:05 -0700)
Checkpatch fix - Add missing blank line after variable declaration

Signed-off-by: Kiran Padwal <kiran.padwal21@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_tty.c

index fe47cd3eb2ed6422d874ccd22e6357b6d70f0150..001348ccacf95cacd3cca7829681089314a36e1c 100644 (file)
@@ -111,24 +111,28 @@ static int gdm_tty_install(struct tty_driver *driver, struct tty_struct *tty)
 static int gdm_tty_open(struct tty_struct *tty, struct file *filp)
 {
        struct gdm *gdm = tty->driver_data;
+
        return tty_port_open(&gdm->port, tty, filp);
 }
 
 static void gdm_tty_cleanup(struct tty_struct *tty)
 {
        struct gdm *gdm = tty->driver_data;
+
        tty_port_put(&gdm->port);
 }
 
 static void gdm_tty_hangup(struct tty_struct *tty)
 {
        struct gdm *gdm = tty->driver_data;
+
        tty_port_hangup(&gdm->port);
 }
 
 static void gdm_tty_close(struct tty_struct *tty, struct file *filp)
 {
        struct gdm *gdm = tty->driver_data;
+
        tty_port_close(&gdm->port, tty, filp);
 }
 
@@ -139,6 +143,7 @@ static int gdm_tty_recv_complete(void *data,
                                 int complete)
 {
        struct gdm *gdm = tty_dev->gdm[index];
+
        if (!GDM_TTY_READY(gdm)) {
                if (complete == RECV_PACKET_PROCESS_COMPLETE)
                        gdm_tty_recv(gdm, gdm_tty_recv_complete);