summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/hwpci.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-10-31 02:26:01 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:31:24 +0100
commit68aafc35161dcc9d365a32c2f9f077aedc61754d (patch)
tree86604dba947e9ee53dad4e613f1f1d7f47e8b5b8 /drivers/acpi/acpica/hwpci.c
parent86ff0e508f88eda6e479a897476026055831d2d8 (diff)
downloadblackbird-op-linux-68aafc35161dcc9d365a32c2f9f077aedc61754d.tar.gz
blackbird-op-linux-68aafc35161dcc9d365a32c2f9f077aedc61754d.zip
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/hwpci.c')
-rw-r--r--drivers/acpi/acpica/hwpci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/hwpci.c b/drivers/acpi/acpica/hwpci.c
index 1455ddcdc32c..65bc3453a29c 100644
--- a/drivers/acpi/acpica/hwpci.c
+++ b/drivers/acpi/acpica/hwpci.c
@@ -259,7 +259,7 @@ acpi_hw_process_pci_list(struct acpi_pci_id *pci_id,
status = acpi_hw_get_pci_device_info(pci_id, info->device,
&bus_number, &is_bridge);
if (ACPI_FAILURE(status)) {
- return_ACPI_STATUS(status);
+ return (status);
}
info = info->next;
@@ -271,7 +271,7 @@ acpi_hw_process_pci_list(struct acpi_pci_id *pci_id,
pci_id->segment, pci_id->bus, pci_id->device,
pci_id->function, status, bus_number, is_bridge));
- return_ACPI_STATUS(AE_OK);
+ return (AE_OK);
}
/*******************************************************************************
OpenPOWER on IntegriCloud