diff options
Diffstat (limited to 'drivers/acpi')
| -rw-r--r-- | drivers/acpi/acpica/acutils.h | 6 | ||||
| -rw-r--r-- | drivers/acpi/acpica/utstate.c | 34 |
2 files changed, 0 insertions, 40 deletions
diff --git a/drivers/acpi/acpica/acutils.h b/drivers/acpi/acpica/acutils.h index 3ae0447d34b2..04f4c319b2c5 100644 --- a/drivers/acpi/acpica/acutils.h +++ b/drivers/acpi/acpica/acutils.h | |||
| @@ -539,12 +539,6 @@ acpi_ut_create_update_state_and_push(union acpi_operand_object *object, | |||
| 539 | u16 action, | 539 | u16 action, |
| 540 | union acpi_generic_state **state_list); | 540 | union acpi_generic_state **state_list); |
| 541 | 541 | ||
| 542 | acpi_status | ||
| 543 | acpi_ut_create_pkg_state_and_push(void *internal_object, | ||
| 544 | void *external_object, | ||
| 545 | u16 index, | ||
| 546 | union acpi_generic_state **state_list); | ||
| 547 | |||
| 548 | union acpi_generic_state *acpi_ut_create_control_state(void); | 542 | union acpi_generic_state *acpi_ut_create_control_state(void); |
| 549 | 543 | ||
| 550 | void acpi_ut_delete_generic_state(union acpi_generic_state *state); | 544 | void acpi_ut_delete_generic_state(union acpi_generic_state *state); |
diff --git a/drivers/acpi/acpica/utstate.c b/drivers/acpi/acpica/utstate.c index 8274cc16edc3..f201171c5dda 100644 --- a/drivers/acpi/acpica/utstate.c +++ b/drivers/acpi/acpica/utstate.c | |||
| @@ -49,39 +49,6 @@ ACPI_MODULE_NAME("utstate") | |||
| 49 | 49 | ||
| 50 | /******************************************************************************* | 50 | /******************************************************************************* |
| 51 | * | 51 | * |
| 52 | * FUNCTION: acpi_ut_create_pkg_state_and_push | ||
| 53 | * | ||
| 54 | * PARAMETERS: object - Object to be added to the new state | ||
| 55 | * action - Increment/Decrement | ||
| 56 | * state_list - List the state will be added to | ||
| 57 | * | ||
| 58 | * RETURN: Status | ||
| 59 | * | ||
| 60 | * DESCRIPTION: Create a new state and push it | ||
| 61 | * | ||
| 62 | ******************************************************************************/ | ||
| 63 | acpi_status | ||
| 64 | acpi_ut_create_pkg_state_and_push(void *internal_object, | ||
| 65 | void *external_object, | ||
| 66 | u16 index, | ||
| 67 | union acpi_generic_state **state_list) | ||
| 68 | { | ||
| 69 | union acpi_generic_state *state; | ||
| 70 | |||
| 71 | ACPI_FUNCTION_ENTRY(); | ||
| 72 | |||
| 73 | state = | ||
| 74 | acpi_ut_create_pkg_state(internal_object, external_object, index); | ||
| 75 | if (!state) { | ||
| 76 | return (AE_NO_MEMORY); | ||
| 77 | } | ||
| 78 | |||
| 79 | acpi_ut_push_generic_state(state_list, state); | ||
| 80 | return (AE_OK); | ||
| 81 | } | ||
| 82 | |||
| 83 | /******************************************************************************* | ||
| 84 | * | ||
| 85 | * FUNCTION: acpi_ut_push_generic_state | 52 | * FUNCTION: acpi_ut_push_generic_state |
| 86 | * | 53 | * |
| 87 | * PARAMETERS: list_head - Head of the state stack | 54 | * PARAMETERS: list_head - Head of the state stack |
| @@ -92,7 +59,6 @@ acpi_ut_create_pkg_state_and_push(void *internal_object, | |||
| 92 | * DESCRIPTION: Push a state object onto a state stack | 59 | * DESCRIPTION: Push a state object onto a state stack |
| 93 | * | 60 | * |
| 94 | ******************************************************************************/ | 61 | ******************************************************************************/ |
| 95 | |||
| 96 | void | 62 | void |
| 97 | acpi_ut_push_generic_state(union acpi_generic_state **list_head, | 63 | acpi_ut_push_generic_state(union acpi_generic_state **list_head, |
| 98 | union acpi_generic_state *state) | 64 | union acpi_generic_state *state) |
