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

Commit d344f313 authored by Arvind Yadav's avatar Arvind Yadav Committed by Zhang Rui
Browse files

thermal/intel_powerclamp: pr_err()/pr_info() strings should end with newlines



pr_err()/pr_info() messages should end with a new-line to avoid
other messages being concatenated.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 2bd6bf03
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -675,13 +675,13 @@ static int __init powerclamp_probe(void)
{

	if (!x86_match_cpu(intel_powerclamp_ids)) {
		pr_err("CPU does not support MWAIT");
		pr_err("CPU does not support MWAIT\n");
		return -ENODEV;
	}

	/* The goal for idle time alignment is to achieve package cstate. */
	if (!has_pkg_state_counter()) {
		pr_info("No package C-state available");
		pr_info("No package C-state available\n");
		return -ENODEV;
	}