aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWanlong Gao <wanlong.gao@gmail.com>2011-05-20 09:14:30 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2011-05-24 21:11:56 -0400
commitd5ca51292d899a19882cb9bf8f64079209e688fe (patch)
tree1af67c95137910db46617d6fa03998e0b0baf95a
parent8d8f26e19cae48541b824f164021e1ff05067f8c (diff)
mtd:fix the bad format in the mtdcore.c
Remove the spare spaces in the head of the lines. Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r--drivers/mtd/mtdcore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
index 8e1909115924..f3c94006ffe6 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
@@ -444,7 +444,7 @@ void register_mtd_user (struct mtd_notifier *new)
444 444
445 list_add(&new->list, &mtd_notifiers); 445 list_add(&new->list, &mtd_notifiers);
446 446
447 __module_get(THIS_MODULE); 447 __module_get(THIS_MODULE);
448 448
449 mtd_for_each_device(mtd) 449 mtd_for_each_device(mtd)
450 new->add(mtd); 450 new->add(mtd);
@@ -707,9 +707,9 @@ static int mtd_proc_show(struct seq_file *m, void *v)
707 seq_printf(m, "mtd%d: %8.8llx %8.8x \"%s\"\n", 707 seq_printf(m, "mtd%d: %8.8llx %8.8x \"%s\"\n",
708 mtd->index, (unsigned long long)mtd->size, 708 mtd->index, (unsigned long long)mtd->size,
709 mtd->erasesize, mtd->name); 709 mtd->erasesize, mtd->name);
710 } 710 }
711 mutex_unlock(&mtd_table_mutex); 711 mutex_unlock(&mtd_table_mutex);
712 return 0; 712 return 0;
713} 713}
714 714
715static int mtd_proc_open(struct inode *inode, struct file *file) 715static int mtd_proc_open(struct inode *inode, struct file *file)
@@ -781,7 +781,7 @@ err_reg:
781static void __exit cleanup_mtd(void) 781static void __exit cleanup_mtd(void)
782{ 782{
783#ifdef CONFIG_PROC_FS 783#ifdef CONFIG_PROC_FS
784 if (proc_mtd) 784 if (proc_mtd)
785 remove_proc_entry( "mtd", NULL); 785 remove_proc_entry( "mtd", NULL);
786#endif /* CONFIG_PROC_FS */ 786#endif /* CONFIG_PROC_FS */
787 class_unregister(&mtd_class); 787 class_unregister(&mtd_class);