aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/lart.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-30 21:57:33 -0400
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-03-31 10:26:23 -0400
commit25985edcedea6396277003854657b5f3cb31a628 (patch)
treef026e810210a2ee7290caeb737c23cb6472b7c38 /drivers/mtd/devices/lart.c
parent6aba74f2791287ec407e0f92487a725a25908067 (diff)
Fix common misspellings
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Diffstat (limited to 'drivers/mtd/devices/lart.c')
-rw-r--r--drivers/mtd/devices/lart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/devices/lart.c b/drivers/mtd/devices/lart.c
index caf604167f03..4b829f97d56c 100644
--- a/drivers/mtd/devices/lart.c
+++ b/drivers/mtd/devices/lart.c
@@ -353,7 +353,7 @@ static inline int erase_block (__u32 offset)
353 /* put the flash back into command mode */ 353 /* put the flash back into command mode */
354 write32 (DATA_TO_FLASH (READ_ARRAY),offset); 354 write32 (DATA_TO_FLASH (READ_ARRAY),offset);
355 355
356 /* was the erase successfull? */ 356 /* was the erase successful? */
357 if ((status & STATUS_ERASE_ERR)) 357 if ((status & STATUS_ERASE_ERR))
358 { 358 {
359 printk (KERN_WARNING "%s: erase error at address 0x%.8x.\n",module_name,offset); 359 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)
508 /* put the flash back into command mode */ 508 /* put the flash back into command mode */
509 write32 (DATA_TO_FLASH (READ_ARRAY),offset); 509 write32 (DATA_TO_FLASH (READ_ARRAY),offset);
510 510
511 /* was the write successfull? */ 511 /* was the write successful? */
512 if ((status & STATUS_PGM_ERR) || read32 (offset) != x) 512 if ((status & STATUS_PGM_ERR) || read32 (offset) != x)
513 { 513 {
514 printk (KERN_WARNING "%s: write error at address 0x%.8x.\n",module_name,offset); 514 printk (KERN_WARNING "%s: write error at address 0x%.8x.\n",module_name,offset);