Staging: comedi: fix extra whitespace style issues in ni_mio_common.c.
authorChase Southwood <chase.southwood@yahoo.com>
Sat, 11 Jan 2014 04:03:12 +0000 (22:03 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Jan 2014 23:04:52 +0000 (15:04 -0800)
This patch for ni_mio_common.c removes extra whitespace causing
checkpatch.pl warnings.

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

index 95f4e3715134c212dea58682faaffa6cea828961..457b88481db0a9b4c6fde73fceef556dc66b8278 100644 (file)
@@ -992,7 +992,7 @@ static void ack_a_interrupt(struct comedi_device *dev, unsigned short a_status)
                ack |= AI_START_Interrupt_Ack;
        if (a_status & AI_STOP_St)
                /* not sure why we used to ack the START here also, instead of doing it independently. Frank Hess 2007-07-06 */
-               ack |= AI_STOP_Interrupt_Ack /*| AI_START_Interrupt_Ack */ ;
+               ack |= AI_STOP_Interrupt_Ack /*| AI_START_Interrupt_Ack */;
        if (ack)
                devpriv->stc_writew(dev, ack, Interrupt_A_Ack_Register);
 }
@@ -4262,7 +4262,7 @@ static int ni_E_init(struct comedi_device *dev)
        s->n_chan = board->num_p0_dio_channels;
        if (board->reg_type & ni_reg_m_series_mask) {
                s->subdev_flags |=
-                   SDF_LSAMPL | SDF_CMD_WRITE /* | SDF_CMD_READ */ ;
+                   SDF_LSAMPL | SDF_CMD_WRITE /* | SDF_CMD_READ */;
                s->insn_bits = &ni_m_series_dio_insn_bits;
                s->insn_config = &ni_m_series_dio_insn_config;
                s->do_cmd = &ni_cdio_cmd;
@@ -4731,7 +4731,7 @@ static int pack_ad8842(int addr, int val, int *bitstring);
 struct caldac_struct {
        int n_chans;
        int n_bits;
-       int (*packbits) (int, int, int *);
+       int (*packbits)(int, int, int *);
 };
 
 static struct caldac_struct caldacs[] = {
This page took 0.035897 seconds and 5 git commands to generate.