[PATCH] Fix spelling in comments and documentation

2010-01-06 Thread Stefan Weil
Replace platfrom - platform.

This is a frequent spelling bug.

Signed-off-by: Stefan Weil w...@mail.berlios.de
---
 Documentation/driver-model/platform.txt   |2 +-
 arch/arm/mach-davinci/include/mach/i2c.h  |2 +-
 arch/arm/mach-s3c2410/include/mach/spi-gpio.h |2 +-
 arch/arm/plat-s3c/include/plat/nand.h |2 +-
 arch/blackfin/include/asm/nand.h  |4 ++--
 arch/powerpc/kernel/legacy_serial.c   |2 +-
 drivers/mtd/maps/plat-ram.c   |2 +-
 drivers/net/cxgb3/sge.c   |4 ++--
 drivers/video/mbx/mbxfb.c |2 +-
 include/linux/dm9000.h|2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Documentation/driver-model/platform.txt 
b/Documentation/driver-model/platform.txt
index 2e2c2ea..41f4163 100644
--- a/Documentation/driver-model/platform.txt
+++ b/Documentation/driver-model/platform.txt
@@ -192,7 +192,7 @@ command line. This will execute all matching early_param() 
callbacks.
 User specified early platform devices will be registered at this point.
 For the early serial console case the user can specify port on the
 kernel command line as earlyprintk=serial.0 where earlyprintk is
-the class string, serial is the name of the platfrom driver and
+the class string, serial is the name of the platform driver and
 0 is the platform device id. If the id is -1 then the dot and the
 id can be omitted.
 
diff --git a/arch/arm/mach-davinci/include/mach/i2c.h 
b/arch/arm/mach-davinci/include/mach/i2c.h
index c248e9b..44bdea1 100644
--- a/arch/arm/mach-davinci/include/mach/i2c.h
+++ b/arch/arm/mach-davinci/include/mach/i2c.h
@@ -1,5 +1,5 @@
 /*
- * DaVinci I2C controller platfrom_device info
+ * DaVinci I2C controller platform_device info
  *
  * Author: Vladimir Barinov, MontaVista Software, Inc. sou...@mvista.com
  *
diff --git a/arch/arm/mach-s3c2410/include/mach/spi-gpio.h 
b/arch/arm/mach-s3c2410/include/mach/spi-gpio.h
index 980a099..dcef228 100644
--- a/arch/arm/mach-s3c2410/include/mach/spi-gpio.h
+++ b/arch/arm/mach-s3c2410/include/mach/spi-gpio.h
@@ -3,7 +3,7 @@
  * Copyright (c) 2006 Simtec Electronics
  * Ben Dooks b...@simtec.co.uk
  *
- * S3C2410 - SPI Controller platfrom_device info
+ * S3C2410 - SPI Controller platform_device info
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
diff --git a/arch/arm/plat-s3c/include/plat/nand.h 
b/arch/arm/plat-s3c/include/plat/nand.h
index 226147b..b64115f 100644
--- a/arch/arm/plat-s3c/include/plat/nand.h
+++ b/arch/arm/plat-s3c/include/plat/nand.h
@@ -3,7 +3,7 @@
  * Copyright (c) 2004 Simtec Electronics
  * Ben Dooks b...@simtec.co.uk
  *
- * S3C2410 - NAND device controller platfrom_device info
+ * S3C2410 - NAND device controller platform_device info
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
diff --git a/arch/blackfin/include/asm/nand.h b/arch/blackfin/include/asm/nand.h
index 3ae8b56..3a1e79d 100644
--- a/arch/blackfin/include/asm/nand.h
+++ b/arch/blackfin/include/asm/nand.h
@@ -1,5 +1,5 @@
 /*
- * BF5XX - NAND flash controller platfrom_device info
+ * BF5XX - NAND flash controller platform_device info
  *
  * Copyright 2007-2008 Analog Devices, Inc.
  *
@@ -8,7 +8,7 @@
 
 /* struct bf5xx_nand_platform
  *
- * define a interface between platfrom board specific code and
+ * define a interface between platform board specific code and
  * bf54x NFC driver.
  *
  * nr_partitions = number of partitions pointed to be partitoons (or zero)
diff --git a/arch/powerpc/kernel/legacy_serial.c 
b/arch/powerpc/kernel/legacy_serial.c
index 9ddfaef..035ada5 100644
--- a/arch/powerpc/kernel/legacy_serial.c
+++ b/arch/powerpc/kernel/legacy_serial.c
@@ -469,7 +469,7 @@ static int __init serial_dev_init(void)
return -ENODEV;
 
/*
-* Before we register the platfrom serial devices, we need
+* Before we register the platform serial devices, we need
 * to fixup their interrupts and their IO ports.
 */
DBG(Fixing serial ports interrupts and IO ports ...\n);
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index dafb919..76a76be 100644
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -4,7 +4,7 @@
  * http://www.simtec.co.uk/products/SWLINUX/
  * Ben Dooks b...@simtec.co.uk
  *
- * Generic platfrom device based RAM map
+ * Generic platform device based RAM map
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index bdbd147..5dbc125 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -196,13 +196,13 @@ static inline void 

Re: [PATCH] Fix spelling in comments and documentation

2010-01-06 Thread Andrew Morton
On Thu,  7 Jan 2010 00:03:52 +0100
Stefan Weil w...@mail.berlios.de wrote:

 Replace platfrom - platform.
 
 This is a frequent spelling bug.

I have a no spelling fixes unless they're in documentation or printks
policy ;)

triv...@kernel.org would be a suitable recipient for this patch.
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [PATCH] Fix spelling in comments and documentation

2010-01-06 Thread Jiri Kosina
On Wed, 6 Jan 2010, Andrew Morton wrote:

  Replace platfrom - platform.
  
  This is a frequent spelling bug.
 
 I have a no spelling fixes unless they're in documentation or printks
 policy ;)
 
 triv...@kernel.org would be a suitable recipient for this patch.

Yup, I am usually applying all the comment typo fixes, as it makes the 
source more grepping-friendly.

Applied, thanks Stefan.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev