[PATCH] of: fix typos

Antony Pavlov antonynpavlov at gmail.com
Thu Apr 25 12:09:30 EDT 2013


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 drivers/of/base.c |    4 ++--
 drivers/of/gpio.c |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index fde91b3..5661e8d 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -902,13 +902,13 @@ int of_add_memory(struct device_node *node, bool dump)
 
 		sprintf(str, "ram%d", r);
 
-                barebox_add_memory_bank(str, base, size);
+		barebox_add_memory_bank(str, base, size);
 
 		if (dump)
 			pr_info("%s: %s: 0x%llx at 0x%llx\n", node->name, str, size, base);
 
 		r++;
-        }
+	}
 
 	return 0;
 }
diff --git a/drivers/of/gpio.c b/drivers/of/gpio.c
index d4314f3..83b72c0 100644
--- a/drivers/of/gpio.c
+++ b/drivers/of/gpio.c
@@ -25,4 +25,3 @@ int of_get_named_gpio(struct device_node *np,
 
 	return ret;
 }
-
-- 
1.7.10.4




More information about the barebox mailing list