mirror of https://gitee.com/openkylin/linux.git
staging: comedi: Replace "dont" with "don't
Replace "dont" with "don't". "Dont" is not same as "Do not" or "Don't". Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
accb9343f5
commit
471c3615e5
|
@ -1700,7 +1700,7 @@ static void i2c_write(struct comedi_device *dev, unsigned int address,
|
|||
* eeprom and i2c bus
|
||||
*/
|
||||
|
||||
/* make sure we dont send anything to eeprom */
|
||||
/* make sure we don't send anything to eeprom */
|
||||
devpriv->plx_control_bits &= ~PLX_CNTRL_EECS;
|
||||
|
||||
i2c_stop(dev);
|
||||
|
|
|
@ -619,7 +619,7 @@ static int das16_cmd_test(struct comedi_device *dev, struct comedi_subdevice *s,
|
|||
|
||||
/* Step 2b : and mutually compatible */
|
||||
|
||||
/* make sure scan_begin_src and convert_src dont conflict */
|
||||
/* make sure scan_begin_src and convert_src don't conflict */
|
||||
if (cmd->scan_begin_src == TRIG_FOLLOW && cmd->convert_src == TRIG_NOW)
|
||||
err |= -EINVAL;
|
||||
if (cmd->scan_begin_src != TRIG_FOLLOW && cmd->convert_src != TRIG_NOW)
|
||||
|
|
|
@ -407,7 +407,7 @@ static void das16m1_handler(struct comedi_device *dev, unsigned int status)
|
|||
if (num_samples > cmd->stop_arg * cmd->chanlist_len)
|
||||
num_samples = cmd->stop_arg * cmd->chanlist_len;
|
||||
}
|
||||
/* make sure we dont try to get too many points if fifo has overrun */
|
||||
/* make sure we don't try to get too many points if fifo has overrun */
|
||||
if (num_samples > DAS16M1_AI_FIFO_SZ)
|
||||
num_samples = DAS16M1_AI_FIFO_SZ;
|
||||
insw(dev->iobase, devpriv->ai_buffer, num_samples);
|
||||
|
|
Loading…
Reference in New Issue