summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-ppc4xx.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2012-07-30 16:16:14 +0200
committerJiri Kosina <jkosina@suse.cz>2012-09-01 17:53:27 +0200
commit886db6acf468bb6684e936a5456d470c69a75ef8 (patch)
tree91226fa6b3c12336528841910a97bf14c056024f /drivers/spi/spi-ppc4xx.c
parentCoccinelle: fix typo in memdup_user.cocci (diff)
downloadlinux-886db6acf468bb6684e936a5456d470c69a75ef8.tar.xz
linux-886db6acf468bb6684e936a5456d470c69a75ef8.zip
spi: fix comment/printk typos in spi
Correct spelling typo in drivers/spi Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/spi/spi-ppc4xx.c')
-rw-r--r--drivers/spi/spi-ppc4xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-ppc4xx.c b/drivers/spi/spi-ppc4xx.c
index 75ac9d48ef46..7a85f22b6474 100644
--- a/drivers/spi/spi-ppc4xx.c
+++ b/drivers/spi/spi-ppc4xx.c
@@ -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 */