diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2009-11-14 10:09:05 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-04 09:39:55 -0500 |
commit | af901ca181d92aac3a7dc265144a9081a86d8f39 (patch) | |
tree | 380054af22521144fbe1364c3bcd55ad24c9bde4 /drivers/mtd/nand | |
parent | 972b94ffb90ea6d20c589d9a47215df103388ddd (diff) |
tree-wide: fix assorted typos all over the place
That is "success", "unknown", "through", "performance", "[re|un]mapping"
, "access", "default", "reasonable", "[con]currently", "temperature"
, "channel", "[un]used", "application", "example","hierarchy", "therefore"
, "[over|under]flow", "contiguous", "threshold", "enough" and others.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/diskonchip.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_ecc.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/s3c2410.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c index e51c1ed7ac18..b126cf887476 100644 --- a/drivers/mtd/nand/diskonchip.c +++ b/drivers/mtd/nand/diskonchip.c | |||
@@ -1056,7 +1056,7 @@ static struct nand_ecclayout doc200x_oobinfo = { | |||
1056 | }; | 1056 | }; |
1057 | 1057 | ||
1058 | /* Find the (I)NFTL Media Header, and optionally also the mirror media header. | 1058 | /* Find the (I)NFTL Media Header, and optionally also the mirror media header. |
1059 | On sucessful return, buf will contain a copy of the media header for | 1059 | On successful return, buf will contain a copy of the media header for |
1060 | further processing. id is the string to scan for, and will presumably be | 1060 | further processing. id is the string to scan for, and will presumably be |
1061 | either "ANAND" or "BNAND". If findmirror=1, also look for the mirror media | 1061 | either "ANAND" or "BNAND". If findmirror=1, also look for the mirror media |
1062 | header. The page #s of the found media headers are placed in mh0_page and | 1062 | header. The page #s of the found media headers are placed in mh0_page and |
diff --git a/drivers/mtd/nand/nand_ecc.c b/drivers/mtd/nand/nand_ecc.c index db7ae9d6a296..92320a643275 100644 --- a/drivers/mtd/nand/nand_ecc.c +++ b/drivers/mtd/nand/nand_ecc.c | |||
@@ -475,7 +475,7 @@ int __nand_correct_data(unsigned char *buf, | |||
475 | * | 475 | * |
476 | * The b2 shift is there to get rid of the lowest two bits. | 476 | * The b2 shift is there to get rid of the lowest two bits. |
477 | * We could also do addressbits[b2] >> 1 but for the | 477 | * We could also do addressbits[b2] >> 1 but for the |
478 | * performace it does not make any difference | 478 | * performance it does not make any difference |
479 | */ | 479 | */ |
480 | if (eccsize_mult == 1) | 480 | if (eccsize_mult == 1) |
481 | byte_addr = (addressbits[b1] << 4) + addressbits[b0]; | 481 | byte_addr = (addressbits[b1] << 4) + addressbits[b0]; |
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 11dc7e69c4fb..68b5b3a486a9 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -875,7 +875,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info, | |||
875 | * @info: The controller instance. | 875 | * @info: The controller instance. |
876 | * @nmtd: The driver version of the MTD instance. | 876 | * @nmtd: The driver version of the MTD instance. |
877 | * | 877 | * |
878 | * This routine is called after the chip probe has succesfully completed | 878 | * This routine is called after the chip probe has successfully completed |
879 | * and the relevant per-chip information updated. This call ensure that | 879 | * and the relevant per-chip information updated. This call ensure that |
880 | * we update the internal state accordingly. | 880 | * we update the internal state accordingly. |
881 | * | 881 | * |