aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/resources/rsxface.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/resources/rsxface.c')
-rw-r--r--drivers/acpi/resources/rsxface.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/acpi/resources/rsxface.c b/drivers/acpi/resources/rsxface.c
index 1d00d285a5a3..8c1628c12cc8 100644
--- a/drivers/acpi/resources/rsxface.c
+++ b/drivers/acpi/resources/rsxface.c
@@ -95,7 +95,7 @@ acpi_get_irq_routing_table(acpi_handle device_handle,
95{ 95{
96 acpi_status status; 96 acpi_status status;
97 97
98 ACPI_FUNCTION_TRACE("acpi_get_irq_routing_table "); 98 ACPI_FUNCTION_TRACE(acpi_get_irq_routing_table);
99 99
100 /* 100 /*
101 * Must have a valid handle and buffer, So we have to have a handle 101 * Must have a valid handle and buffer, So we have to have a handle
@@ -147,7 +147,7 @@ acpi_get_current_resources(acpi_handle device_handle,
147{ 147{
148 acpi_status status; 148 acpi_status status;
149 149
150 ACPI_FUNCTION_TRACE("acpi_get_current_resources"); 150 ACPI_FUNCTION_TRACE(acpi_get_current_resources);
151 151
152 /* 152 /*
153 * Must have a valid handle and buffer, So we have to have a handle 153 * Must have a valid handle and buffer, So we have to have a handle
@@ -197,7 +197,7 @@ acpi_get_possible_resources(acpi_handle device_handle,
197{ 197{
198 acpi_status status; 198 acpi_status status;
199 199
200 ACPI_FUNCTION_TRACE("acpi_get_possible_resources"); 200 ACPI_FUNCTION_TRACE(acpi_get_possible_resources);
201 201
202 /* 202 /*
203 * Must have a valid handle and buffer, So we have to have a handle 203 * Must have a valid handle and buffer, So we have to have a handle
@@ -249,13 +249,13 @@ acpi_walk_resources(acpi_handle device_handle,
249 struct acpi_resource *resource; 249 struct acpi_resource *resource;
250 struct acpi_resource *resource_end; 250 struct acpi_resource *resource_end;
251 251
252 ACPI_FUNCTION_TRACE("acpi_walk_resources"); 252 ACPI_FUNCTION_TRACE(acpi_walk_resources);
253 253
254 /* Parameter validation */ 254 /* Parameter validation */
255 255
256 if (!device_handle || !user_function || !name || 256 if (!device_handle || !user_function || !name ||
257 (ACPI_STRNCMP(name, METHOD_NAME__CRS, sizeof(METHOD_NAME__CRS)) && 257 (!ACPI_COMPARE_NAME(name, METHOD_NAME__CRS) &&
258 ACPI_STRNCMP(name, METHOD_NAME__PRS, sizeof(METHOD_NAME__PRS)))) { 258 !ACPI_COMPARE_NAME(name, METHOD_NAME__PRS))) {
259 return_ACPI_STATUS(AE_BAD_PARAMETER); 259 return_ACPI_STATUS(AE_BAD_PARAMETER);
260 } 260 }
261 261
@@ -339,7 +339,7 @@ acpi_set_current_resources(acpi_handle device_handle,
339{ 339{
340 acpi_status status; 340 acpi_status status;
341 341
342 ACPI_FUNCTION_TRACE("acpi_set_current_resources"); 342 ACPI_FUNCTION_TRACE(acpi_set_current_resources);
343 343
344 /* Must have a valid handle and buffer */ 344 /* Must have a valid handle and buffer */
345 345