Commit d5ca5129 authored by Wanlong Gao's avatar Wanlong Gao Committed by David Woodhouse

mtd:fix the bad format in the mtdcore.c

Remove the spare spaces in the head of the lines.
Signed-off-by: default avatarWanlong Gao <>
Signed-off-by: default avatarArtem Bityutskiy <>
Signed-off-by: default avatarDavid Woodhouse <>
parent 8d8f26e1
...@@ -444,7 +444,7 @@ void register_mtd_user (struct mtd_notifier *new) ...@@ -444,7 +444,7 @@ void register_mtd_user (struct mtd_notifier *new)
list_add(&new->list, &mtd_notifiers); list_add(&new->list, &mtd_notifiers);
__module_get(THIS_MODULE); __module_get(THIS_MODULE);
mtd_for_each_device(mtd) mtd_for_each_device(mtd)
new->add(mtd); new->add(mtd);
...@@ -707,9 +707,9 @@ static int mtd_proc_show(struct seq_file *m, void *v) ...@@ -707,9 +707,9 @@ static int mtd_proc_show(struct seq_file *m, void *v)
seq_printf(m, "mtd%d: %8.8llx %8.8x \"%s\"\n", seq_printf(m, "mtd%d: %8.8llx %8.8x \"%s\"\n",
mtd->index, (unsigned long long)mtd->size, mtd->index, (unsigned long long)mtd->size,
mtd->erasesize, mtd->name); mtd->erasesize, mtd->name);
} }
mutex_unlock(&mtd_table_mutex); mutex_unlock(&mtd_table_mutex);
return 0; return 0;
} }
static int mtd_proc_open(struct inode *inode, struct file *file) static int mtd_proc_open(struct inode *inode, struct file *file)
...@@ -781,7 +781,7 @@ err_reg: ...@@ -781,7 +781,7 @@ err_reg:
static void __exit cleanup_mtd(void) static void __exit cleanup_mtd(void)
{ {
if (proc_mtd) if (proc_mtd)
remove_proc_entry( "mtd", NULL); remove_proc_entry( "mtd", NULL);
#endif /* CONFIG_PROC_FS */ #endif /* CONFIG_PROC_FS */
class_unregister(&mtd_class); class_unregister(&mtd_class);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment