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

Commit 6728a2fd authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: cpuidle: lpm-levles-of: Remove excessive warn messages"

parents 2e16cc4a 5f1519fe
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -884,7 +884,6 @@ struct lpm_cluster *parse_cluster(struct device_node *node,
			continue;
		key = "qcom,pm-cluster-level";
		if (!of_node_cmp(n->name, key)) {
			WARN_ON(use_psci && c->no_saw_devices);
			if (parse_cluster_level(n, c))
				goto failed_parse_cluster;
			continue;
@@ -894,7 +893,10 @@ struct lpm_cluster *parse_cluster(struct device_node *node,
		if (!of_node_cmp(n->name, key)) {
			struct lpm_cluster *child;

			WARN_ON(use_psci && c->no_saw_devices);
			if (c->no_saw_devices)
				pr_info("%s: SAW device not provided.\n",
					__func__);

			child = parse_cluster(n, c);
			if (!child)
				goto failed_parse_cluster;