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

Commit 64e0f8f9 authored by Maulik Shah's avatar Maulik Shah Committed by Gerrit - the friendly Code Review server
Browse files

cpuidle: lpm-levels: Use correct node variable in failure print



Device node used in failure print is uninitialized. Fix this error
by using correct device node.

Change-Id: I0cc1bfacba8acda632943281ca5a428d3f4714a3
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 1aa24ca3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -618,7 +618,7 @@ static int parse_cpu_levels(struct device_node *node, struct lpm_cluster *c)
		ret = of_property_read_u32(node, key, &c->cpu->psci_mode_shift);
		if (ret) {
			pr_err("Failed reading %s on device %s\n", key,
					n->name);
					node->name);
			return ret;
		}
		key = "qcom,psci-mode-mask";
@@ -626,7 +626,7 @@ static int parse_cpu_levels(struct device_node *node, struct lpm_cluster *c)
		ret = of_property_read_u32(node, key, &c->cpu->psci_mode_mask);
		if (ret) {
			pr_err("Failed reading %s on device %s\n", key,
					n->name);
					node->name);
			return ret;
		}
	}