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: Rishi Gupta <gupt21@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
This commit is contained in:
Rishi Gupta 2019-08-23 07:01:42 +05:30 committed by Zhang Rui
parent f639cff55f
commit 4c8a342c11

View File

@ -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;
}