staging: comedi: ni_mio_common.c: fix coding style issue
authorChristopher Mårtensson <cribalik@gmail.com>
Sun, 23 Jul 2017 11:05:09 +0000 (13:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 15:00:37 +0000 (08:00 -0700)
"checkpatch.pl -f ..." gave
ERROR: open brace '{' following function definitions go on the next line

Signed-off-by: Christopher Mårtensson <cribalik@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c

index 2f7bfc1..398347f 100644 (file)
@@ -1962,7 +1962,8 @@ static unsigned int ni_timer_to_ns(const struct comedi_device *dev, int timer)
 static void ni_cmd_set_mite_transfer(struct mite_ring *ring,
                                     struct comedi_subdevice *sdev,
                                     const struct comedi_cmd *cmd,
-                                    unsigned int max_count) {
+                                    unsigned int max_count)
+{
 #ifdef PCIDMA
        unsigned int nbytes = max_count;