diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/osl.c | 4 | ||||
-rw-r--r-- | drivers/acpi/power.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 7594f65800cf..4bc1c4178f50 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1406,7 +1406,7 @@ acpi_os_invalidate_address( | |||
1406 | switch (space_id) { | 1406 | switch (space_id) { |
1407 | case ACPI_ADR_SPACE_SYSTEM_IO: | 1407 | case ACPI_ADR_SPACE_SYSTEM_IO: |
1408 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: | 1408 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: |
1409 | /* Only interference checks against SystemIO and SytemMemory | 1409 | /* Only interference checks against SystemIO and SystemMemory |
1410 | are needed */ | 1410 | are needed */ |
1411 | res.start = address; | 1411 | res.start = address; |
1412 | res.end = address + length - 1; | 1412 | res.end = address + length - 1; |
@@ -1458,7 +1458,7 @@ acpi_os_validate_address ( | |||
1458 | switch (space_id) { | 1458 | switch (space_id) { |
1459 | case ACPI_ADR_SPACE_SYSTEM_IO: | 1459 | case ACPI_ADR_SPACE_SYSTEM_IO: |
1460 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: | 1460 | case ACPI_ADR_SPACE_SYSTEM_MEMORY: |
1461 | /* Only interference checks against SystemIO and SytemMemory | 1461 | /* Only interference checks against SystemIO and SystemMemory |
1462 | are needed */ | 1462 | are needed */ |
1463 | res = kzalloc(sizeof(struct acpi_res_list), GFP_KERNEL); | 1463 | res = kzalloc(sizeof(struct acpi_res_list), GFP_KERNEL); |
1464 | if (!res) | 1464 | if (!res) |
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index ddc76787b842..f74d3b31e5c9 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c | |||
@@ -172,7 +172,6 @@ static int acpi_power_get_list_state(struct acpi_handle_list *list, int *state) | |||
172 | return -EINVAL; | 172 | return -EINVAL; |
173 | 173 | ||
174 | /* The state of the list is 'on' IFF all resources are 'on'. */ | 174 | /* The state of the list is 'on' IFF all resources are 'on'. */ |
175 | /* */ | ||
176 | 175 | ||
177 | for (i = 0; i < list->count; i++) { | 176 | for (i = 0; i < list->count; i++) { |
178 | /* | 177 | /* |