[Skiboot] [PATCH 24/25] hw/chiptod: Fix strange indentation in chiptod_probe

Joel Stanley joel at jms.id.au
Tue Sep 5 15:52:01 AEST 2017


Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 hw/chiptod.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/hw/chiptod.c b/hw/chiptod.c
index eefaed270523..1b4d594d51e2 100644
--- a/hw/chiptod.c
+++ b/hw/chiptod.c
@@ -1607,17 +1607,17 @@ static bool chiptod_probe(void)
 		chip = dt_get_chip_id(np);
 
 		if (dt_has_node_property(np, "primary", NULL)) {
-		    chiptod_primary = chip;
-		    if (dt_node_is_compatible(np, "ibm,power7-chiptod"))
-			    chiptod_type = chiptod_p7;
-		    if (dt_node_is_compatible(np, "ibm,power8-chiptod"))
-			    chiptod_type = chiptod_p8;
-		    if (dt_node_is_compatible(np, "ibm,power9-chiptod"))
-			    chiptod_type = chiptod_p9;
+			chiptod_primary = chip;
+			if (dt_node_is_compatible(np, "ibm,power7-chiptod"))
+				chiptod_type = chiptod_p7;
+			if (dt_node_is_compatible(np, "ibm,power8-chiptod"))
+				chiptod_type = chiptod_p8;
+			if (dt_node_is_compatible(np, "ibm,power9-chiptod"))
+				chiptod_type = chiptod_p9;
 		}
 
 		if (dt_has_node_property(np, "secondary", NULL))
-		    chiptod_secondary = chip;
+			chiptod_secondary = chip;
 
 	}
 
-- 
2.14.1



More information about the Skiboot mailing list