Staging: comedi: fix spacing/style problem in das1800.c (and das6402.c)
authorChase Southwood <chase.southwood@yahoo.com>
Mon, 6 Jan 2014 03:46:54 +0000 (21:46 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 18:49:31 +0000 (10:49 -0800)
This patch fixes a style issue regarding asterisk placement in
das1800.c and das6402.c found by checkpatch.pl.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das1800.c
drivers/staging/comedi/drivers/das6402.c

index 165bdfd6104d26b1d19b07a6991a6aca454bd9f8..320d95a5f47b6e051c9ff6bae01d63d11f90e693 100644 (file)
@@ -459,7 +459,7 @@ static inline uint16_t munge_bipolar_sample(const struct comedi_device *dev,
        return sample;
 }
 
-static void munge_data(struct comedi_device *dev, uint16_t * array,
+static void munge_data(struct comedi_device *dev, uint16_t *array,
                       unsigned int num_elements)
 {
        unsigned int i;
index e80c19a892cd33fffd1e2059e15a1f6f64afccff..43027ee500e3ab30e99bab0e930cdbc39fb2d308 100644 (file)
@@ -202,7 +202,7 @@ static int das6402_ai_cancel(struct comedi_device *dev,
 
 #ifdef unused
 static int das6402_ai_mode2(struct comedi_device *dev,
-                           struct comedi_subdevice *s, comedi_trig * it)
+                           struct comedi_subdevice *s, comedi_trig *it)
 {
        struct das6402_private *devpriv = dev->private;