Patchwork MTD: Minor coding style cleanup in mtdpart.c

login
register
mail settings
Submitter Stefan Roese
Date Jan. 25, 2012, 10:24 a.m.
Message ID <1327487076-11306-1-git-send-email-sr@denx.de>
Download mbox | patch
Permalink /patch/137726/
State New
Headers show

Comments

Stefan Roese - Jan. 25, 2012, 10:24 a.m.
Signed-off-by: Stefan Roese <sr@denx.de>
---
 drivers/mtd/mtdpart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Artem Bityutskiy - Jan. 27, 2012, 3 p.m.
On Wed, 2012-01-25 at 11:24 +0100, Stefan Roese wrote:
> Signed-off-by: Stefan Roese <sr@denx.de>
> ---
>  drivers/mtd/mtdpart.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c
index a0bd2de..5de0aac 100644
--- a/drivers/mtd/mtdpart.c
+++ b/drivers/mtd/mtdpart.c
@@ -768,7 +768,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);