diff options
author | Bob Moore <robert.moore@intel.com> | 2012-10-31 02:26:01 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-14 23:31:24 (GMT) |
commit | 68aafc35161dcc9d365a32c2f9f077aedc61754d (patch) | |
tree | 86604dba947e9ee53dad4e613f1f1d7f47e8b5b8 /drivers/acpi/acpica/dswstate.c | |
parent | 86ff0e508f88eda6e479a897476026055831d2d8 (diff) | |
download | linux-fsl-qoriq-68aafc35161dcc9d365a32c2f9f077aedc61754d.tar.xz |
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/dswstate.c')
-rw-r--r-- | drivers/acpi/acpica/dswstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/dswstate.c b/drivers/acpi/acpica/dswstate.c index 9bb7fa4..8e62679 100644 --- a/drivers/acpi/acpica/dswstate.c +++ b/drivers/acpi/acpica/dswstate.c @@ -708,13 +708,13 @@ void acpi_ds_delete_walk_state(struct acpi_walk_state *walk_state) ACPI_FUNCTION_TRACE_PTR(ds_delete_walk_state, walk_state); if (!walk_state) { - return; + return_VOID; } if (walk_state->descriptor_type != ACPI_DESC_TYPE_WALK) { ACPI_ERROR((AE_INFO, "%p is not a valid walk state", walk_state)); - return; + return_VOID; } /* There should not be any open scopes */ |