diff options
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
-rw-r--r-- | drivers/acpi/processor_thermal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index c2095ab7f0dd..0f86d0253c60 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c | |||
@@ -82,7 +82,7 @@ static int acpi_processor_apply_limit(struct acpi_processor *pr) | |||
82 | 82 | ||
83 | end: | 83 | end: |
84 | if (result) | 84 | if (result) |
85 | ACPI_ERROR((AE_INFO, "Unable to set limit")); | 85 | printk(KERN_ERR PREFIX "Unable to set limit\n"); |
86 | 86 | ||
87 | return_VALUE(result); | 87 | return_VALUE(result); |
88 | } | 88 | } |
@@ -289,7 +289,7 @@ int acpi_processor_set_thermal_limit(acpi_handle handle, int type) | |||
289 | 289 | ||
290 | result = acpi_processor_apply_limit(pr); | 290 | result = acpi_processor_apply_limit(pr); |
291 | if (result) | 291 | if (result) |
292 | ACPI_ERROR((AE_INFO, "Unable to set thermal limit")); | 292 | printk(KERN_ERR PREFIX "Unable to set thermal limit\n"); |
293 | 293 | ||
294 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Thermal limit now (P%d:T%d)\n", | 294 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Thermal limit now (P%d:T%d)\n", |
295 | pr->limit.thermal.px, pr->limit.thermal.tx)); | 295 | pr->limit.thermal.px, pr->limit.thermal.tx)); |
@@ -371,13 +371,13 @@ static ssize_t acpi_processor_write_limit(struct file * file, | |||
371 | limit_string[count] = '\0'; | 371 | limit_string[count] = '\0'; |
372 | 372 | ||
373 | if (sscanf(limit_string, "%d:%d", &px, &tx) != 2) { | 373 | if (sscanf(limit_string, "%d:%d", &px, &tx) != 2) { |
374 | ACPI_ERROR((AE_INFO, "Invalid data format")); | 374 | printk(KERN_ERR PREFIX "Invalid data format\n"); |
375 | return_VALUE(-EINVAL); | 375 | return_VALUE(-EINVAL); |
376 | } | 376 | } |
377 | 377 | ||
378 | if (pr->flags.throttling) { | 378 | if (pr->flags.throttling) { |
379 | if ((tx < 0) || (tx > (pr->throttling.state_count - 1))) { | 379 | if ((tx < 0) || (tx > (pr->throttling.state_count - 1))) { |
380 | ACPI_ERROR((AE_INFO, "Invalid tx")); | 380 | printk(KERN_ERR PREFIX "Invalid tx\n"); |
381 | return_VALUE(-EINVAL); | 381 | return_VALUE(-EINVAL); |
382 | } | 382 | } |
383 | pr->limit.user.tx = tx; | 383 | pr->limit.user.tx = tx; |