diff options
author | Lv Zheng <lv.zheng@intel.com> | 2012-12-19 00:37:15 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-10 06:36:18 -0500 |
commit | 3e8214e5c2bd449b30109d4a098597ab1b7c9fb9 (patch) | |
tree | 1f256120555cba08aad93c865d02519698732554 /include/acpi/actbl.h | |
parent | 739dcbb90a347a66f25cc0c3ef4eef3d4558f409 (diff) |
ACPICA: Cleanup indentation to reduce differences between Linux and ACPICA.
This is a cosmetic patch only. Comparison of the resulting binary showed
only line number differences.
This patch does not affect the generation of the Linux binary.
This patch decreases 210 lines of 20121018 divergence.diff.
The ACPICA source codes uses a totally different indentation style from the
Linux to be compatible with other users (operating systems or BIOS).
Indentation differences are critical to the release automation. There are
two causes related to the "indentation" that are affecting the release
automation:
1. The ACPICA -> Linux release process is:
ACPICA source -- acpisrc - hierarchy - indent ->
linuxized ACPICA source -- diff ->
linuxized ACPICA patch (x) -- human intervention ->
linuxized ACPICA patch (o)
Where
'x' means "cannot be directly applied to the Linux"
'o' means "can be directly applied to the Linux"
Different "indent" version or "indent" options used in the "indent"
step will lead to different divergences.
The version of "indent" used for the current release process is:
GNU indent 2.2.11
The options of "indent" used for the current release process is:
-npro -kr -i8 -ts8 -sob -l80 -ss -ncs
2. Manual indentation prettifying work in the Linux side will also harm the
automatically generated linuxized ACPICA patches, making them impossible
to apply directly.
This patch fixes source code differences caused by the two causes so that
the "human intervention" can be reduced in the future.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/actbl.h')
-rw-r--r-- | include/acpi/actbl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/acpi/actbl.h b/include/acpi/actbl.h index c0e6c32353ed..ee050e86d17c 100644 --- a/include/acpi/actbl.h +++ b/include/acpi/actbl.h | |||
@@ -357,7 +357,6 @@ struct acpi_table_desc { | |||
357 | /* | 357 | /* |
358 | * Get the remaining ACPI tables | 358 | * Get the remaining ACPI tables |
359 | */ | 359 | */ |
360 | |||
361 | #include <acpi/actbl1.h> | 360 | #include <acpi/actbl1.h> |
362 | #include <acpi/actbl2.h> | 361 | #include <acpi/actbl2.h> |
363 | #include <acpi/actbl3.h> | 362 | #include <acpi/actbl3.h> |