summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel_menlow.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2011-05-29 14:27:13 -0400
committerMatthew Garrett <mjg@redhat.com>2011-05-29 14:27:13 -0400
commit437cb0dbd104a1564e0e78f0d486b97677f80909 (patch)
treee066b3d65eb965ca68ecc8ef14581f2450ad3a61 /drivers/platform/x86/intel_menlow.c
parent139f37f5e14cd883eee2a8a36289f544b5390a44 (diff)
parent987dfbaa65b2c3568b85e29d2598da08a011ee09 (diff)
Merge branch 'x86-platform-next' into x86-platform
Diffstat (limited to 'drivers/platform/x86/intel_menlow.c')
-rw-r--r--drivers/platform/x86/intel_menlow.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/platform/x86/intel_menlow.c
index eacd5da7dd2..809adea4965 100644
--- a/drivers/platform/x86/intel_menlow.c
+++ b/drivers/platform/x86/intel_menlow.c
@@ -27,6 +27,8 @@
* to get/set bandwidth.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
@@ -135,8 +137,7 @@ static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev,
acpi_evaluate_integer(handle, MEMORY_SET_BANDWIDTH, &arg_list,
&temp);
- printk(KERN_INFO
- "Bandwidth value was %ld: status is %d\n", state, status);
+ pr_info("Bandwidth value was %ld: status is %d\n", state, status);
if (ACPI_FAILURE(status))
return -EFAULT;