OSDN Git Service

Staging: comedi: fix blank line coding style in comedi_bond.c
authorFrederic Jacob <frederic.jacob.78@gmail.com>
Thu, 18 Dec 2014 05:15:07 +0000 (00:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jan 2015 00:58:11 +0000 (16:58 -0800)
 This is a patch to the comedi_bond.c file that fixes up a blank line after
 declaration warning found by the checkpatch.pl tool

Signed-off-by: Frederic Jacob <frederic.jacob.78@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_bond.c

index 85b2f4a..221d381 100644 (file)
@@ -261,6 +261,7 @@ static int do_dev_config(struct comedi_device *dev, struct comedi_devconfig *it)
                        {
                                /* Append dev:subdev to devpriv->name */
                                char buf[20];
+
                                snprintf(buf, sizeof(buf), "%u:%u ",
                                         bdev->minor, bdev->subdev);
                                strlcat(devpriv->name, buf,