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