aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/events/evxfevnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/events/evxfevnt.c')
-rw-r--r--drivers/acpi/events/evxfevnt.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/drivers/acpi/events/evxfevnt.c b/drivers/acpi/events/evxfevnt.c
index 90eb7939e986..ec9ce8429f15 100644
--- a/drivers/acpi/events/evxfevnt.c
+++ b/drivers/acpi/events/evxfevnt.c
@@ -70,7 +70,7 @@ acpi_status acpi_enable(void)
70 /* Make sure we have the FADT */ 70 /* Make sure we have the FADT */
71 71
72 if (!acpi_gbl_FADT) { 72 if (!acpi_gbl_FADT) {
73 ACPI_REPORT_WARNING(("No FADT information present!\n")); 73 ACPI_WARNING((AE_INFO, "No FADT information present!"));
74 return_ACPI_STATUS(AE_NO_ACPI_TABLES); 74 return_ACPI_STATUS(AE_NO_ACPI_TABLES);
75 } 75 }
76 76
@@ -82,7 +82,8 @@ acpi_status acpi_enable(void)
82 82
83 status = acpi_hw_set_mode(ACPI_SYS_MODE_ACPI); 83 status = acpi_hw_set_mode(ACPI_SYS_MODE_ACPI);
84 if (ACPI_FAILURE(status)) { 84 if (ACPI_FAILURE(status)) {
85 ACPI_REPORT_ERROR(("Could not transition to ACPI mode\n")); 85 ACPI_ERROR((AE_INFO,
86 "Could not transition to ACPI mode"));
86 return_ACPI_STATUS(status); 87 return_ACPI_STATUS(status);
87 } 88 }
88 89
@@ -112,7 +113,7 @@ acpi_status acpi_disable(void)
112 ACPI_FUNCTION_TRACE("acpi_disable"); 113 ACPI_FUNCTION_TRACE("acpi_disable");
113 114
114 if (!acpi_gbl_FADT) { 115 if (!acpi_gbl_FADT) {
115 ACPI_REPORT_WARNING(("No FADT information present!\n")); 116 ACPI_WARNING((AE_INFO, "No FADT information present!"));
116 return_ACPI_STATUS(AE_NO_ACPI_TABLES); 117 return_ACPI_STATUS(AE_NO_ACPI_TABLES);
117 } 118 }
118 119
@@ -125,7 +126,8 @@ acpi_status acpi_disable(void)
125 status = acpi_hw_set_mode(ACPI_SYS_MODE_LEGACY); 126 status = acpi_hw_set_mode(ACPI_SYS_MODE_LEGACY);
126 127
127 if (ACPI_FAILURE(status)) { 128 if (ACPI_FAILURE(status)) {
128 ACPI_REPORT_ERROR(("Could not exit ACPI mode to legacy mode")); 129 ACPI_ERROR((AE_INFO,
130 "Could not exit ACPI mode to legacy mode"));
129 return_ACPI_STATUS(status); 131 return_ACPI_STATUS(status);
130 } 132 }
131 133
@@ -182,8 +184,9 @@ acpi_status acpi_enable_event(u32 event, u32 flags)
182 } 184 }
183 185
184 if (value != 1) { 186 if (value != 1) {
185 ACPI_REPORT_ERROR(("Could not enable %s event\n", 187 ACPI_ERROR((AE_INFO,
186 acpi_ut_get_event_name(event))); 188 "Could not enable %s event",
189 acpi_ut_get_event_name(event)));
187 return_ACPI_STATUS(AE_NO_HARDWARE_RESPONSE); 190 return_ACPI_STATUS(AE_NO_HARDWARE_RESPONSE);
188 } 191 }
189 192
@@ -380,8 +383,9 @@ acpi_status acpi_disable_event(u32 event, u32 flags)
380 } 383 }
381 384
382 if (value != 0) { 385 if (value != 0) {
383 ACPI_REPORT_ERROR(("Could not disable %s events\n", 386 ACPI_ERROR((AE_INFO,
384 acpi_ut_get_event_name(event))); 387 "Could not disable %s events",
388 acpi_ut_get_event_name(event)));
385 return_ACPI_STATUS(AE_NO_HARDWARE_RESPONSE); 389 return_ACPI_STATUS(AE_NO_HARDWARE_RESPONSE);
386 } 390 }
387 391