Commit 2c146810 authored by Bruce Jones's avatar Bruce Jones Committed by Greg Kroah-Hartman

Staging: comedi: ni_atmio16d: fix formating errors

Correct formatting errors - in this case line length and spaces before
parens.
Signed-off-by: default avatarBruce Jones <brucej@linux.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 120be77b
...@@ -324,7 +324,7 @@ static int atmio16d_ai_cmdtest(struct comedi_device *dev, ...@@ -324,7 +324,7 @@ static int atmio16d_ai_cmdtest(struct comedi_device *dev,
if (err) if (err)
return 1; 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 */ /* note that mutual compatiblity is not an issue here */
if (cmd->scan_begin_src != TRIG_FOLLOW && if (cmd->scan_begin_src != TRIG_FOLLOW &&
cmd->scan_begin_src != TRIG_EXT && cmd->scan_begin_src != TRIG_EXT &&
...@@ -436,10 +436,10 @@ static int atmio16d_ai_cmd(struct comedi_device *dev, ...@@ -436,10 +436,10 @@ static int atmio16d_ai_cmd(struct comedi_device *dev,
} else if (cmd->convert_arg < 655360000) { } else if (cmd->convert_arg < 655360000) {
base_clock = CLOCK_100_KHZ; base_clock = CLOCK_100_KHZ;
timer = cmd->convert_arg / 10000; timer = cmd->convert_arg / 10000;
} else if (cmd->convert_arg <= 0xffffffff /* 6553600000 */ ) { } else if (cmd->convert_arg <= 0xffffffff /* 6553600000 */) {
base_clock = CLOCK_10_KHZ; base_clock = CLOCK_10_KHZ;
timer = cmd->convert_arg / 100000; timer = cmd->convert_arg / 100000;
} else if (cmd->convert_arg <= 0xffffffff /* 65536000000 */ ) { } else if (cmd->convert_arg <= 0xffffffff /* 65536000000 */) {
base_clock = CLOCK_1_KHZ; base_clock = CLOCK_1_KHZ;
timer = cmd->convert_arg / 1000000; timer = cmd->convert_arg / 1000000;
} }
...@@ -504,10 +504,10 @@ static int atmio16d_ai_cmd(struct comedi_device *dev, ...@@ -504,10 +504,10 @@ static int atmio16d_ai_cmd(struct comedi_device *dev,
} else if (cmd->scan_begin_arg < 655360000) { } else if (cmd->scan_begin_arg < 655360000) {
base_clock = CLOCK_100_KHZ; base_clock = CLOCK_100_KHZ;
timer = cmd->scan_begin_arg / 10000; 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; base_clock = CLOCK_10_KHZ;
timer = cmd->scan_begin_arg / 100000; 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; base_clock = CLOCK_1_KHZ;
timer = cmd->scan_begin_arg / 1000000; timer = cmd->scan_begin_arg / 1000000;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment