diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-20 12:20:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-20 12:20:59 -0400 |
commit | f39d01be4c59a61a08d0cb53f615e7016b85d339 (patch) | |
tree | 6777590e3ff2ddf4df1d38444ba7d692cd463b7b /drivers/acpi | |
parent | 54291263519ac2c9bdda68b23b02fef3808deed4 (diff) | |
parent | 7db82437cfcac4bdfe79a6323eb554fdfa271623 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (44 commits)
vlynq: make whole Kconfig-menu dependant on architecture
add descriptive comment for TIF_MEMDIE task flag declaration.
EEPROM: max6875: Header file cleanup
EEPROM: 93cx6: Header file cleanup
EEPROM: Header file cleanup
agp: use NULL instead of 0 when pointer is needed
rtc-v3020: make bitfield unsigned
PCI: make bitfield unsigned
jbd2: use NULL instead of 0 when pointer is needed
cciss: fix shadows sparse warning
doc: inode uses a mutex instead of a semaphore.
uml: i386: Avoid redefinition of NR_syscalls
fix "seperate" typos in comments
cocbalt_lcdfb: correct sections
doc: Change urls for sparse
Powerpc: wii: Fix typo in comment
i2o: cleanup some exit paths
Documentation/: it's -> its where appropriate
UML: Fix compiler warning due to missing task_struct declaration
UML: add kernel.h include to signal.c
...
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 | /* |