aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exmutex.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-10-30 22:26:01 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-14 18:31:24 -0500
commit68aafc35161dcc9d365a32c2f9f077aedc61754d (patch)
tree86604dba947e9ee53dad4e613f1f1d7f47e8b5b8 /drivers/acpi/acpica/exmutex.c
parent86ff0e508f88eda6e479a897476026055831d2d8 (diff)
ACPICA: Audit/update for ACPICA return macros and debug depth counter
1) Ensure that all functions that use the various TRACE macros also use the appropriate ACPICA return macros. 2) Ensure that all normal return statements surround the return expression (value) with parens. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/exmutex.c')
-rw-r--r--drivers/acpi/acpica/exmutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/exmutex.c b/drivers/acpi/acpica/exmutex.c
index bcceda5be9e3..9099783eb857 100644
--- a/drivers/acpi/acpica/exmutex.c
+++ b/drivers/acpi/acpica/exmutex.c
@@ -305,7 +305,7 @@ acpi_status acpi_ex_release_mutex_object(union acpi_operand_object *obj_desc)
305 ACPI_FUNCTION_TRACE(ex_release_mutex_object); 305 ACPI_FUNCTION_TRACE(ex_release_mutex_object);
306 306
307 if (obj_desc->mutex.acquisition_depth == 0) { 307 if (obj_desc->mutex.acquisition_depth == 0) {
308 return (AE_NOT_ACQUIRED); 308 return_ACPI_STATUS(AE_NOT_ACQUIRED);
309 } 309 }
310 310
311 /* Match multiple Acquires with multiple Releases */ 311 /* Match multiple Acquires with multiple Releases */