spi: fix comment/printk typos in spi
authorMasanari Iida <standby24x7@gmail.com>
Mon, 30 Jul 2012 14:16:14 +0000 (23:16 +0900)
committerJiri Kosina <jkosina@suse.cz>
Sat, 1 Sep 2012 15:53:27 +0000 (08:53 -0700)
Correct spelling typo in drivers/spi

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/spi/spi-au1550.c
drivers/spi/spi-bfin-sport.c
drivers/spi/spi-oc-tiny.c
drivers/spi/spi-ppc4xx.c
drivers/spi/spi-topcliff-pch.c

index 5784c8799616dac41c81a872b8cf758204cd8085..4de66d1cfe5133bf4bf74da094c74889b678ab9e 100644 (file)
@@ -475,7 +475,7 @@ static irqreturn_t au1550_spi_dma_irq_callback(struct au1550_spi *hw)
                /*
                 * due to an spi error we consider transfer as done,
                 * so mask all events until before next transfer start
-                * and stop the possibly running dma immediatelly
+                * and stop the possibly running dma immediately
                 */
                au1550_spi_mask_ack_all(hw);
                au1xxx_dbdma_stop(hw->dma_rx_ch);
index 1fe51198a62292310473d22d4bdbb502cf6cf304..6555ecd07302f148059632beb8105bd8add1370c 100644 (file)
@@ -467,7 +467,7 @@ bfin_sport_spi_pump_transfers(unsigned long data)
                dev_dbg(drv_data->dev, "IO write error!\n");
                drv_data->state = ERROR_STATE;
        } else {
-               /* Update total byte transfered */
+               /* Update total byte transferred */
                message->actual_length += transfer->len;
                /* Move to next transfer of this msg */
                drv_data->state = bfin_sport_spi_next_transfer(drv_data);
index 698018fd992b57f6875df66d29207fe0384b1c9b..9d9071b730beeeb6eeea84ee731fb620a5bcca84 100644 (file)
@@ -129,7 +129,7 @@ static int tiny_spi_txrx_bufs(struct spi_device *spi, struct spi_transfer *t)
        unsigned int i;
 
        if (hw->irq >= 0) {
-               /* use intrrupt driven data transfer */
+               /* use interrupt driven data transfer */
                hw->len = t->len;
                hw->txp = t->tx_buf;
                hw->rxp = t->rx_buf;
index 75ac9d48ef46c28feabe9b94535d5e8cc5ba94c3..7a85f22b647422024950ef57d90d14e81408327e 100644 (file)
@@ -101,7 +101,7 @@ struct spi_ppc4xx_regs {
        u8 dummy;
        /*
         * Clock divisor modulus register
-        * This uses the follwing formula:
+        * This uses the following formula:
         *    SCPClkOut = OPBCLK/(4(CDM + 1))
         * or
         *    CDM = (OPBCLK/4*SCPClkOut) - 1
@@ -201,7 +201,7 @@ static int spi_ppc4xx_setupxfer(struct spi_device *spi, struct spi_transfer *t)
                return -EINVAL;
        }
 
-       /* Write new configration */
+       /* Write new configuration */
        out_8(&hw->regs->mode, cs->mode);
 
        /* Set the clock */
index cd56dcf46320bb57f598ac50321c214d6133824c..1284c9b74653f28992335ff87f84467b5d9223aa 100644 (file)
@@ -505,7 +505,7 @@ static int pch_spi_transfer(struct spi_device *pspi, struct spi_message *pmsg)
        }
 
        if (unlikely(pspi->max_speed_hz == 0)) {
-               dev_err(&pspi->dev, "%s pch_spi_tranfer maxspeed=%d\n",
+               dev_err(&pspi->dev, "%s pch_spi_transfer maxspeed=%d\n",
                        __func__, pspi->max_speed_hz);
                retval = -EINVAL;
                goto err_out;