aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2017-09-05 15:52:01 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-05 17:56:41 +1000
commit642ae25d03ee66af79ca397758f4fd69441b5df5 (patch)
treedba1484bf775f26d2a7f9d3a530d7a9439bf64fd
parent1990a4dacc91825bac38d4289ffce1c579ae72d4 (diff)
downloadskiboot-642ae25d03ee66af79ca397758f4fd69441b5df5.zip
skiboot-642ae25d03ee66af79ca397758f4fd69441b5df5.tar.gz
skiboot-642ae25d03ee66af79ca397758f4fd69441b5df5.tar.bz2
hw/chiptod: Fix strange indentation in chiptod_probe
Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/chiptod.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/hw/chiptod.c b/hw/chiptod.c
index eefaed2..1b4d594 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;
}