Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca9521b7 authored by Stephen Boyd's avatar Stephen Boyd Committed by Zhang Rui
Browse files

thermal: Add braces around suspect code



It looks like this code is missing braces, otherwise the if
statement shouldn't have been indented. Fix it.

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent e8db5d67
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -712,11 +712,12 @@ thermal_of_build_thermal_zone(struct device_node *np)
	}

	i = 0;
	for_each_child_of_node(child, gchild)
	for_each_child_of_node(child, gchild) {
		ret = thermal_of_populate_bind_params(gchild, &tz->tbps[i++],
						      tz->trips, tz->ntrips);
		if (ret)
			goto free_tbps;
	}

finish:
	of_node_put(child);