Fix common misspellings
[deliverable/linux.git] / drivers / staging / comedi / drivers / adv_pci1710.c
index 466e69f94ef2def8467b0c09fa6341656858851e..da2b75b15d4e2ca532c25f2f9acbe9e550be01e0 100644 (file)
@@ -98,7 +98,7 @@ Configuration options:
 #define        Status_FE       0x0100  /* 1=FIFO is empty */
 #define Status_FH      0x0200  /* 1=FIFO is half full */
 #define Status_FF      0x0400  /* 1=FIFO is full, fatal error */
-#define Status_IRQ     0x0800  /* 1=IRQ occured */
+#define Status_IRQ     0x0800  /* 1=IRQ occurred */
 /* bits from control register (PCI171x_CONTROL) */
 #define Control_CNT0   0x0040  /* 1=CNT0 have external source,
                                 * 0=have internal 100kHz source */
@@ -1161,7 +1161,7 @@ static int check_channel_list(struct comedi_device *dev,
        }
 
        if (n_chan > 1) {
-               chansegment[0] = chanlist[0];   /*  first channel is everytime ok */
+               chansegment[0] = chanlist[0];   /*  first channel is every time ok */
                for (i = 1, seglen = 1; i < n_chan; i++, seglen++) {    /*  build part of chanlist */
                        /*  printk("%d. %d %d\n",i,CR_CHAN(chanlist[i]),CR_RANGE(chanlist[i])); */
                        if (chanlist[0] == chanlist[i])
@@ -1176,9 +1176,9 @@ static int check_channel_list(struct comedi_device *dev,
                            (CR_CHAN(chansegment[i - 1]) + 1) % s->n_chan;
                        if (CR_AREF(chansegment[i - 1]) == AREF_DIFF)
                                nowmustbechan = (nowmustbechan + 1) % s->n_chan;
-                       if (nowmustbechan != CR_CHAN(chanlist[i])) {    /*  channel list isn't continous :-( */
+                       if (nowmustbechan != CR_CHAN(chanlist[i])) {    /*  channel list isn't continuous :-( */
                                printk
-                                   ("channel list must be continous! chanlist[%i]=%d but must be %d or %d!\n",
+                                   ("channel list must be continuous! chanlist[%i]=%d but must be %d or %d!\n",
                                     i, CR_CHAN(chanlist[i]), nowmustbechan,
                                     CR_CHAN(chanlist[0]));
                                return 0;
This page took 0.024455 seconds and 5 git commands to generate.