diff options
Diffstat (limited to 'drivers/acpi/osl.c')
| -rw-r--r-- | drivers/acpi/osl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index c8111424dcb..6729a4992f2 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
| @@ -726,7 +726,7 @@ static acpi_status __acpi_os_execute(acpi_execute_type type, | |||
| 726 | 726 | ||
| 727 | dpc = kmalloc(sizeof(struct acpi_os_dpc), GFP_ATOMIC); | 727 | dpc = kmalloc(sizeof(struct acpi_os_dpc), GFP_ATOMIC); |
| 728 | if (!dpc) | 728 | if (!dpc) |
| 729 | return_ACPI_STATUS(AE_NO_MEMORY); | 729 | return AE_NO_MEMORY; |
| 730 | 730 | ||
| 731 | dpc->function = function; | 731 | dpc->function = function; |
| 732 | dpc->context = context; | 732 | dpc->context = context; |
| @@ -747,7 +747,7 @@ static acpi_status __acpi_os_execute(acpi_execute_type type, | |||
| 747 | status = AE_ERROR; | 747 | status = AE_ERROR; |
| 748 | kfree(dpc); | 748 | kfree(dpc); |
| 749 | } | 749 | } |
| 750 | return_ACPI_STATUS(status); | 750 | return status; |
| 751 | } | 751 | } |
| 752 | 752 | ||
| 753 | acpi_status acpi_os_execute(acpi_execute_type type, | 753 | acpi_status acpi_os_execute(acpi_execute_type type, |
