]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: pcl724: checkpatch.pl cleanup (foo*/foo *)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 16 Jul 2014 18:22:53 +0000 (11:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:37:59 +0000 (13:37 -0700)
Fix the checkpatch.pl error:

ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl730.c

index 4eef4b46cf6b44ff7b901fe7f5c545f317a26aee..bdce24c42940349f7082eaa3d6fc3b7c026b586f 100644 (file)
@@ -310,7 +310,7 @@ static int pcl730_attach(struct comedi_device *dev,
                s->maxdata      = 1;
                s->range_table  = &range_digital;
                s->insn_bits    = pcl730_di_insn_bits;
-               s->private      = board->is_ir104 ? (void*)4 :
+               s->private      = board->is_ir104 ? (void *)4 :
                                  board->is_acl7225b ? (void *)2 :
                                  board->is_pcl725 ? (void *)1 : (void *)0;
        }