acpica/source
Robert Moore d09bc88ad2 AcpiSrc: Fix indentation issues for macro invocations.
During the linuxizing process, some extra white spaces are added by the
"indent" program at the beginning of the line which is an invocation of a
macro and there is no ";" at the end of the line.

This patch adds new mode to AcpiSrc to remove extra spaces inserted before
invoking such macros and add an empty line between the invocations of such
macros (like the other function declarations).  This new mode is executed
after executing "indent" during the Linux release process.

The affected macros and files are:
 1. ACPI_HW_DEPENDENT_RETURN (acpixf.h):
    This macro is used as a wrapper for hardware dependent APIs to offer a
    stub when the reduced hardware is configured during compilation.
 2. ACPI_EXPORT_SYMBOL (utglobal.c):
    This macro is used by Linux to export symbols to be found by Linux
    modules.  All such invocations are well formatted except those exported
    as global variables.

This can help to reduce the source code differences between Linux and
ACPICA, and also help to automate the release process.  Lv Zheng.
2013-09-26 08:33:05 -07:00
..
common AcpiExec: Remove unused variable. 2013-09-25 12:38:06 -07:00
compiler Debugger/Apps: Add safe versions of common string functions. 2013-09-18 08:41:48 -07:00
components Deploy ACPI_EXPORT_SYMBOL_INIT for main ACPICA initialization interfaces. 2013-09-20 09:19:58 -07:00
include Prevent possible build issues for use of ACPI_PRINTF_LIKE macro 2013-09-26 08:09:11 -07:00
os_specific/service_layers Cleanup global variable that is used only by OSL code. 2013-09-25 13:56:13 -07:00
tools AcpiSrc: Fix indentation issues for macro invocations. 2013-09-26 08:33:05 -07:00