mtd: minor coding style cleanup in mtdpart.c

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Mar 26 20:59:05 EDT 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=58edc904bb7ce940cb5ab7905ddda01aa7f0fa7a
Commit:     58edc904bb7ce940cb5ab7905ddda01aa7f0fa7a
Parent:     c9d1b752937244d77d98bbd8e7f486bb715bec50
Author:     Stefan Roese <sr at denx.de>
AuthorDate: Wed Jan 25 11:24:36 2012 +0100
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Tue Mar 27 00:16:24 2012 +0100

    mtd: minor coding style cleanup in mtdpart.c
    
    Signed-off-by: Stefan Roese <sr at denx.de>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/mtdpart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index a3d44c3..47d00f0 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -761,7 +761,7 @@ int parse_mtd_partitions(struct mtd_info *master, const char **types,
 	for ( ; ret <= 0 && *types; types++) {
 		parser = get_partition_parser(*types);
 		if (!parser && !request_module("%s", *types))
-				parser = get_partition_parser(*types);
+			parser = get_partition_parser(*types);
 		if (!parser)
 			continue;
 		ret = (*parser->parse_fn)(master, pparts, data);



More information about the linux-mtd-cvs mailing list