]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: comedi: ni_atmio16d: fix formating errors
authorBruce Jones <brucej97223@gmail.com>
Thu, 24 Sep 2009 21:59:52 +0000 (14:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 20:21:50 +0000 (12:21 -0800)
Correct formatting errors - in this case line length and spaces before
parens.

Signed-off-by: Bruce Jones <brucej@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/ni_atmio16d.c

index 901833d9b772b4bd83bcbdf9a4463dda4c98d604..1e35ed692059eeb10190d462850c7745821920ce 100644 (file)
@@ -200,8 +200,8 @@ struct atmio16d_private {
        enum { dac_2comp, dac_straight } dac0_coding, dac1_coding;
        const struct comedi_lrange *ao_range_type_list[2];
        unsigned int ao_readback[2];
-       unsigned int com_reg_1_state;   /* current state of command register 1 */
-       unsigned int com_reg_2_state;   /* current state of command register 2 */
+       unsigned int com_reg_1_state; /* current state of command register 1 */
+       unsigned int com_reg_2_state; /* current state of command register 2 */
 };
 
 static void reset_counters(struct comedi_device *dev)
@@ -324,7 +324,7 @@ static int atmio16d_ai_cmdtest(struct comedi_device *dev,
        if (err)
                return 1;
 
-       /* step 2: make sure trigger sources are unique and mutually compatible */
+       /* step 2: make sure trigger sources are unique & mutually compatible */
        /* note that mutual compatiblity is not an issue here */
        if (cmd->scan_begin_src != TRIG_FOLLOW &&
            cmd->scan_begin_src != TRIG_EXT &&
@@ -436,10 +436,10 @@ static int atmio16d_ai_cmd(struct comedi_device *dev,
        } else if (cmd->convert_arg < 655360000) {
                base_clock = CLOCK_100_KHZ;
                timer = cmd->convert_arg / 10000;
-       } else if (cmd->convert_arg <= 0xffffffff /* 6553600000 */ ) {
+       } else if (cmd->convert_arg <= 0xffffffff /* 6553600000 */) {
                base_clock = CLOCK_10_KHZ;
                timer = cmd->convert_arg / 100000;
-       } else if (cmd->convert_arg <= 0xffffffff /* 65536000000 */ ) {
+       } else if (cmd->convert_arg <= 0xffffffff /* 65536000000 */) {
                base_clock = CLOCK_1_KHZ;
                timer = cmd->convert_arg / 1000000;
        }
@@ -504,10 +504,10 @@ static int atmio16d_ai_cmd(struct comedi_device *dev,
                } else if (cmd->scan_begin_arg < 655360000) {
                        base_clock = CLOCK_100_KHZ;
                        timer = cmd->scan_begin_arg / 10000;
-               } else if (cmd->scan_begin_arg < 0xffffffff /* 6553600000 */ ) {
+               } else if (cmd->scan_begin_arg < 0xffffffff /* 6553600000 */) {
                        base_clock = CLOCK_10_KHZ;
                        timer = cmd->scan_begin_arg / 100000;
-               } else if (cmd->scan_begin_arg < 0xffffffff /* 65536000000 */ ) {
+               } else if (cmd->scan_begin_arg < 0xffffffff /* 65536000000 */) {
                        base_clock = CLOCK_1_KHZ;
                        timer = cmd->scan_begin_arg / 1000000;
                }