]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: fix checkpatch error
authorGeliang Tang <geliangtang@163.com>
Mon, 25 May 2015 14:20:43 +0000 (14:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 01:07:17 +0000 (10:07 +0900)
Fixed an error found by checkpatch.pl.
ERROR: space required after that ',' (ctx:VxV)
./drivers/ni_mio_common.c:3764

Signed-off-by: Geliang Tang <geliangtang@163.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 9dfd4e6e6ced0845202997653e212812763eb60a..f01ef89d91be38d128c24d6d987ebb6efaa23558 100644 (file)
@@ -3761,7 +3761,7 @@ static unsigned int ni_gpct_to_stc_register(struct comedi_device *dev,
        if (reg < ARRAY_SIZE(ni_gpct_to_stc_regmap)) {
                regmap = &ni_gpct_to_stc_regmap[reg];
        } else {
-               dev_warn(dev->class_dev,"%s: unhandled register 0x%x\n",
+               dev_warn(dev->class_dev, "%s: unhandled register 0x%x\n",
                         __func__, reg);
                return 0;
        }