]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: dgnc: Add missing blank line
authorMahati Chamarthy <mahati.chamarthy@gmail.com>
Mon, 29 Sep 2014 08:42:28 +0000 (14:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 16:37:44 +0000 (09:37 -0700)
This fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c

index 4a56e97fe4ac1790283660fdde797d8715fdf336..07fba1e9afaf84df81c2df13c684486cdc3d5449 100644 (file)
@@ -375,6 +375,7 @@ int dgnc_tty_init(struct dgnc_board *brd)
 
                {
                        struct device *classp;
+
                        classp = tty_register_device(&brd->SerialDriver, i,
                                &(ch->ch_bd->pdev->dev));
                        ch->ch_tun.un_sysfs = classp;
@@ -3066,6 +3067,7 @@ static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
        case DIGI_REALPORT_SENDIMMEDIATE:
        {
                unsigned char c;
+
                spin_unlock_irqrestore(&ch->ch_lock, flags);
                rc = get_user(c, (unsigned char __user *) arg);
                if (rc)