mtd: minor coding style cleanup in mtdpart.c
authorStefan Roese <sr@denx.de>
Wed, 25 Jan 2012 10:24:36 +0000 (11:24 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:16:24 +0000 (00:16 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdpart.c

index a3d44c3416b4f2bef8a1932976b2825a1e230609..47d00f0bb36d59ae9ae787814f3e5b86eeadcb49 100644 (file)
@@ -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);