Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: OneNAND: spelling fixes

Signed-off-by: Mika Korhonen <mika.j.korhonen@gmail.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Mika Korhonen and committed by
David Woodhouse
492e1501 bc8cec0d

+10 -10
+10 -10
drivers/mtd/onenand/onenand_base.c
··· 1191 1191 /* 1192 1192 * Chip boundary handling in DDP 1193 1193 * Now we issued chip 1 read and pointed chip 1 1194 - * bufferam so we have to point chip 0 bufferam. 1194 + * bufferram so we have to point chip 0 bufferram. 1195 1195 */ 1196 1196 if (ONENAND_IS_DDP(this) && 1197 1197 unlikely(from == (this->chipsize >> 1))) { ··· 1867 1867 ONENAND_SET_NEXT_BUFFERRAM(this); 1868 1868 1869 1869 /* 1870 - * 2 PLANE, MLC, and Flex-OneNAND doesn't support 1871 - * write-while-programe feature. 1870 + * 2 PLANE, MLC, and Flex-OneNAND do not support 1871 + * write-while-program feature. 1872 1872 */ 1873 1873 if (!ONENAND_IS_2PLANE(this) && !first) { 1874 1874 ONENAND_SET_PREV_BUFFERRAM(this); ··· 1879 1879 onenand_update_bufferram(mtd, prev, !ret && !prev_subpage); 1880 1880 if (ret) { 1881 1881 written -= prevlen; 1882 - printk(KERN_ERR "onenand_write_ops_nolock: write filaed %d\n", ret); 1882 + printk(KERN_ERR "onenand_write_ops_nolock: write failed %d\n", ret); 1883 1883 break; 1884 1884 } 1885 1885 ··· 1905 1905 /* In partial page write we don't update bufferram */ 1906 1906 onenand_update_bufferram(mtd, to, !ret && !subpage); 1907 1907 if (ret) { 1908 - printk(KERN_ERR "onenand_write_ops_nolock: write filaed %d\n", ret); 1908 + printk(KERN_ERR "onenand_write_ops_nolock: write failed %d\n", ret); 1909 1909 break; 1910 1910 } 1911 1911 ··· 2201 2201 /* Grab the lock and see if the device is available */ 2202 2202 onenand_get_device(mtd, FL_ERASING); 2203 2203 2204 - /* Loop throught the pages */ 2204 + /* Loop through the blocks */ 2205 2205 instr->state = MTD_ERASING; 2206 2206 2207 2207 while (len) { ··· 2328 2328 if (bbm->bbt) 2329 2329 bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1); 2330 2330 2331 - /* We write two bytes, so we dont have to mess with 16 bit access */ 2331 + /* We write two bytes, so we don't have to mess with 16-bit access */ 2332 2332 ofs += mtd->oobsize + (bbm->badblockpos & ~0x01); 2333 2333 /* FIXME : What to do when marking SLC block in partition 2334 2334 * with MLC erasesize? For now, it is not advisable to ··· 2557 2557 2558 2558 #ifdef CONFIG_MTD_ONENAND_OTP 2559 2559 2560 - /* Interal OTP operation */ 2560 + /* Internal OTP operation */ 2561 2561 typedef int (*otp_op_t)(struct mtd_info *mtd, loff_t form, size_t len, 2562 2562 size_t *retlen, u_char *buf); 2563 2563 ··· 2921 2921 this->options |= ONENAND_HAS_2PLANE; 2922 2922 2923 2923 case ONENAND_DEVICE_DENSITY_2Gb: 2924 - /* 2Gb DDP don't have 2 plane */ 2924 + /* 2Gb DDP does not have 2 plane */ 2925 2925 if (!ONENAND_IS_DDP(this)) 2926 2926 this->options |= ONENAND_HAS_2PLANE; 2927 2927 this->options |= ONENAND_HAS_UNLOCK_ALL; ··· 3364 3364 /* It's real page size */ 3365 3365 this->writesize = mtd->writesize; 3366 3366 3367 - /* REVIST: Multichip handling */ 3367 + /* REVISIT: Multichip handling */ 3368 3368 3369 3369 if (FLEXONENAND(this)) 3370 3370 flexonenand_get_size(mtd);