diff mbox series

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

Message ID 20170905055202.8216-25-joel@jms.id.au
State Accepted
Headers show
Series Checkpatch fixes | expand

Commit Message

Joel Stanley Sept. 5, 2017, 5:52 a.m. UTC
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 hw/chiptod.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff mbox series

Patch

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;
 
 	}