staging: comedi: drivers/*.c: fix common misspellings
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 5 Mar 2015 20:21:15 +0000 (13:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 00:02:27 +0000 (16:02 -0800)
Fix these common misspellings:
  s/dependancy/dependency
  s/occured/occurred
  s/informations/information
  s/intialize/initialize
  s/serveral/several
  s/interrups/interrupts
  s/acknowledgement/acknowledgment
  s/suppport/support
  s/writting/writing

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/8255_pci.c
drivers/staging/comedi/drivers/addi_apci_1500.c
drivers/staging/comedi/drivers/adv_pci1710.c
drivers/staging/comedi/drivers/das08.c
drivers/staging/comedi/drivers/dmm32at.c
drivers/staging/comedi/drivers/ni_65xx.c
drivers/staging/comedi/drivers/ni_670x.c
drivers/staging/comedi/drivers/ni_labpc_pci.c
drivers/staging/comedi/drivers/ni_tiocmd.c
drivers/staging/comedi/drivers/pcmuio.c
drivers/staging/comedi/drivers/unioxx5.c

index 984764211a2df11533fecf54e6ebf2f47ab8b594..291aed14f7e355735fd9086b839192540ef8707a 100644 (file)
@@ -178,7 +178,7 @@ static const struct pci_8255_boardinfo pci_8255_boards[] = {
        },
 };
 
-/* ripped from mite.h and mite_setup2() to avoid mite dependancy */
+/* ripped from mite.h and mite_setup2() to avoid mite dependency */
 #define MITE_IODWBSR   0xc0     /* IO Device Window Base Size Register */
 #define WENAB          (1 << 7) /* window enable */
 
index f15aa1f6b4762eb2bbb1921c388e8ff735415f9a..3dd017940aaf76c91046efa2606d891a5a97751c 100644 (file)
@@ -249,8 +249,8 @@ static irqreturn_t apci1500_interrupt(int irq, void *d)
         *
         *    Mask     Meaning
         * ----------  ------------------------------------------
-        * 0x00000001  Event 1 has occured
-        * 0x00000010  Event 2 has occured
+        * 0x00000001  Event 1 has occurred
+        * 0x00000010  Event 2 has occurred
         * 0x00000100  Counter/timer 1 has run down (not implemented)
         * 0x00001000  Counter/timer 2 has run down (not implemented)
         * 0x00010000  Counter 3 has run down (not implemented)
index 9c881ff01297208253c3a8ccb06e5801cb9795cc..812f4dde63a426bc776acbd40062480576d78703 100644 (file)
@@ -4,7 +4,7 @@
  * Author: Michal Dobes <dobes@tesnet.cz>
  *
  * Thanks to ZhenGang Shang <ZhenGang.Shang@Advantech.com.cn>
- * for testing and informations.
+ * for testing and information.
  *
  *  hardware driver for Advantech cards:
  *   card:   PCI-1710, PCI-1710HG, PCI-1711, PCI-1713, PCI-1720, PCI-1731
index ecd36390192202cb322e1555cb8d1804ef4eaa81..73f4c8dbbde3ff926eba8e3280d7dc72a985aaa1 100644 (file)
@@ -408,7 +408,7 @@ int das08_common_attach(struct comedi_device *dev, unsigned long iobase)
                if (ret)
                        return ret;
 
-               /* intialize all channels to 0V */
+               /* initialize all channels to 0V */
                for (i = 0; i < s->n_chan; i++) {
                        s->readback[i] = s->maxdata / 2;
                        das08_ao_set_data(dev, i, s->readback[i]);
index 1af006609fc1b70d700eaa18e47e4cb5a428eafc..74830f4b95f5276df39ba68775f8fd896090bfeb 100644 (file)
@@ -30,7 +30,7 @@
  * This driver is for the Diamond Systems MM-32-AT board
  *     http://www.diamondsystems.com/products/diamondmm32at
  *
- * It is being used on serveral projects inside NASA, without
+ * It is being used on several projects inside NASA, without
  * problems so far. For analog input commands, TRIG_EXT is not
  * yet supported.
  */
@@ -391,7 +391,7 @@ static int dmm32at_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s)
                /* start the clock and enable the interrupts */
                dmm32at_setaitimer(dev, cmd->scan_begin_arg);
        } else {
-               /* start the interrups and initiate a single scan */
+               /* start the interrupts and initiate a single scan */
                outb(DMM32AT_INTCLK_ADINT, dev->iobase + DMM32AT_INTCLK_REG);
                outb(0xff, dev->iobase + DMM32AT_AI_START_CONV_REG);
        }
index 67cb758eb0cd9293e41abbcd7d91e50daafa0b75..9d0714b802b14223c1f676fcfa05066eff8494d2 100644 (file)
@@ -613,7 +613,7 @@ static int ni_65xx_intr_insn_config(struct comedi_device *dev,
        return insn->n;
 }
 
-/* ripped from mite.h and mite_setup2() to avoid mite dependancy */
+/* ripped from mite.h and mite_setup2() to avoid mite dependency */
 #define MITE_IODWBSR   0xc0     /* IO Device Window Base Size Register */
 #define WENAB          (1 << 7) /* window enable */
 
index c42a81c0bfa1cd3fd9f444ac7b405cc5869213c3..90b4dfa6261b23943dd4e22b4993f1869e89a149 100644 (file)
@@ -146,7 +146,7 @@ static int ni_670x_dio_insn_config(struct comedi_device *dev,
        return insn->n;
 }
 
-/* ripped from mite.h and mite_setup2() to avoid mite dependancy */
+/* ripped from mite.h and mite_setup2() to avoid mite dependency */
 #define MITE_IODWBSR   0xc0     /* IO Device Window Base Size Register */
 #define WENAB          (1 << 7) /* window enable */
 
index 245c59bbaef8c204869ab3af5443a0bf28661ceb..f50a5a2ee079471e43d4266702ebac563577b324 100644 (file)
@@ -51,7 +51,7 @@ static const struct labpc_boardinfo labpc_pci_boards[] = {
        },
 };
 
-/* ripped from mite.h and mite_setup2() to avoid mite dependancy */
+/* ripped from mite.h and mite_setup2() to avoid mite dependency */
 #define MITE_IODWBSR   0xc0     /* IO Device Window Base Size Register */
 #define WENAB          (1 << 7) /* window enable */
 
index 41735700e5f9a0e0ab780b9a92630134fb8560d0..2a1f8b26c407b3fcb93ed6132684c922f2a353da 100644 (file)
@@ -366,7 +366,7 @@ static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter,
        if (gxx_status & GI_GATE_ERROR(cidx)) {
                ack |= GI_GATE_ERROR_CONFIRM(cidx);
                if (gate_error) {
-                       /*660x don't support automatic acknowledgement
+                       /*660x don't support automatic acknowledgment
                          of gate interrupt via dma read/write
                           and report bogus gate errors */
                        if (counter->counter_dev->variant !=
index a1641d98181245eee97662f7f20d1054ac3df567..1a4a1f589a56a0d7238ae19b6c8f285b33e92276 100644 (file)
@@ -588,7 +588,7 @@ static int pcmuio_attach(struct comedi_device *dev, struct comedi_devconfig *it)
                s->insn_bits    = pcmuio_dio_insn_bits;
                s->insn_config  = pcmuio_dio_insn_config;
 
-               /* subdevices 0 and 2 can suppport interrupts */
+               /* subdevices 0 and 2 can support interrupts */
                if ((i == 0 && dev->irq) || (i == 2 && devpriv->irq2)) {
                        /* setup the interrupt subdevice */
                        dev->read_subdev = s;
index 7c2276a086ac8c3e2d8a2fa4caa0f92142226453..12d828063c069287cd59173797b4cf6232c68695 100644 (file)
@@ -266,7 +266,7 @@ static int __unioxx5_analog_write(struct comedi_subdevice *s,
        /* sending for bytes to module(one byte per cycle iteration) */
        for (i = 0; i < 4; i++) {
                while (!((inb(usp->usp_iobase + 0)) & TxBE))
-                       ;       /* waits while writting will be allowed */
+                       ;       /* waits while writing will be allowed */
                outb(usp->usp_extra_data[module][i], usp->usp_iobase + 6);
        }
 
@@ -399,7 +399,7 @@ static int __unioxx5_subdev_init(struct comedi_device *dev,
                outb(i + 1, iobase + 5);
                outb('H', iobase + 6);  /* requests EEPROM world */
                while (!(inb(iobase + 0) & TxBE))
-                       ;       /* waits while writting will be allowed */
+                       ;       /* waits while writing will be allowed */
                outb(0, iobase + 6);
 
                /* waits while reading of two bytes will be allowed */
This page took 0.031069 seconds and 5 git commands to generate.