Fix common misspellings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / mtd / devices / lart.c
index caf604167f03d618620562fdd16948d5f84ed400..4b829f97d56cfe313292d68480ea5eabb675a28d 100644 (file)
@@ -353,7 +353,7 @@ static inline int erase_block (__u32 offset)
    /* put the flash back into command mode */
    write32 (DATA_TO_FLASH (READ_ARRAY),offset);
 
-   /* was the erase successfull? */
+   /* was the erase successful? */
    if ((status & STATUS_ERASE_ERR))
         {
                printk (KERN_WARNING "%s: erase error at address 0x%.8x.\n",module_name,offset);
@@ -508,7 +508,7 @@ static inline int write_dword (__u32 offset,__u32 x)
    /* put the flash back into command mode */
    write32 (DATA_TO_FLASH (READ_ARRAY),offset);
 
-   /* was the write successfull? */
+   /* was the write successful? */
    if ((status & STATUS_PGM_ERR) || read32 (offset) != x)
         {
                printk (KERN_WARNING "%s: write error at address 0x%.8x.\n",module_name,offset);