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

Commit 4c8a342c authored by Rishi Gupta's avatar Rishi Gupta Committed by Zhang Rui
Browse files

thermal: intel: int3403: replace printk(KERN_WARN...) with pr_warn(...)



Direct invocation of printk() is not preferred to emit logs.
This commit replaces printk(KERN_WARNING) with corresponding
pr_warn() function call.

Signed-off-by: default avatarRishi Gupta <gupt21@gmail.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent f639cff5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ static int int3403_cdev_add(struct int3403_priv *priv)

	p = buf.pointer;
	if (!p || (p->type != ACPI_TYPE_PACKAGE)) {
		printk(KERN_WARNING "Invalid PPSS data\n");
		pr_warn("Invalid PPSS data\n");
		kfree(buf.pointer);
		return -EFAULT;
	}