diff options
author | Lv Zheng <lv.zheng@intel.com> | 2012-10-30 22:25:45 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-14 18:31:23 -0500 |
commit | 1f86e8c1c9f129d450fd75e42d25ddba69a522ac (patch) | |
tree | 55b079e60273789f0340818dc32ed495183dde4c /include/acpi | |
parent | 644ef74e6d187ca2e8a23ff41a513964de36f93e (diff) |
ACPICA: Fix indent caused divergences.
New version of "indent" program will generate different outputs that
will lead to the divergences between the Linux and the ACPICA.
This patch fixes such divergences caused by the "indent" program.
The version of the "indent" used for this patch is "GNU indent 2.2.11".
This patch will not affect the generated vmlinux binary.
This will decrease 581 lines of 20120913 divergence.diff.
Signed-off-by: Robert 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 'include/acpi')
-rw-r--r-- | include/acpi/acpixf.h | 13 | ||||
-rw-r--r-- | include/acpi/actypes.h | 6 |
2 files changed, 9 insertions, 10 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 352fd1a38321..fe84aee5df47 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -178,8 +178,7 @@ acpi_status acpi_unload_table_id(acpi_owner_id id); | |||
178 | 178 | ||
179 | acpi_status | 179 | acpi_status |
180 | acpi_get_table_header(acpi_string signature, | 180 | acpi_get_table_header(acpi_string signature, |
181 | u32 instance, | 181 | u32 instance, struct acpi_table_header *out_table_header); |
182 | struct acpi_table_header *out_table_header); | ||
183 | 182 | ||
184 | acpi_status | 183 | acpi_status |
185 | acpi_get_table_with_size(acpi_string signature, | 184 | acpi_get_table_with_size(acpi_string signature, |
@@ -190,8 +189,7 @@ acpi_get_table(acpi_string signature, | |||
190 | u32 instance, struct acpi_table_header **out_table); | 189 | u32 instance, struct acpi_table_header **out_table); |
191 | 190 | ||
192 | acpi_status | 191 | acpi_status |
193 | acpi_get_table_by_index(u32 table_index, | 192 | acpi_get_table_by_index(u32 table_index, struct acpi_table_header **out_table); |
194 | struct acpi_table_header **out_table); | ||
195 | 193 | ||
196 | acpi_status | 194 | acpi_status |
197 | acpi_install_table_handler(acpi_tbl_handler handler, void *context); | 195 | acpi_install_table_handler(acpi_tbl_handler handler, void *context); |
@@ -300,10 +298,9 @@ ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status | |||
300 | u32 gpe_number, | 298 | u32 gpe_number, |
301 | acpi_gpe_handler | 299 | acpi_gpe_handler |
302 | address)) | 300 | address)) |
303 | acpi_status | 301 | acpi_status acpi_install_notify_handler(acpi_handle device, u32 handler_type, |
304 | acpi_install_notify_handler(acpi_handle device, | 302 | acpi_notify_handler handler, |
305 | u32 handler_type, | 303 | void *context); |
306 | acpi_notify_handler handler, void *context); | ||
307 | 304 | ||
308 | acpi_status | 305 | acpi_status |
309 | acpi_remove_notify_handler(acpi_handle device, | 306 | acpi_remove_notify_handler(acpi_handle device, |
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index ea50a314e552..1fa6ba123071 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -922,7 +922,8 @@ struct acpi_system_info { | |||
922 | /* | 922 | /* |
923 | * Types specific to the OS service interfaces | 923 | * Types specific to the OS service interfaces |
924 | */ | 924 | */ |
925 | typedef u32(ACPI_SYSTEM_XFACE * acpi_osd_handler) (void *context); | 925 | typedef u32 |
926 | (ACPI_SYSTEM_XFACE * acpi_osd_handler) (void *context); | ||
926 | 927 | ||
927 | typedef void | 928 | typedef void |
928 | (ACPI_SYSTEM_XFACE * acpi_osd_exec_callback) (void *context); | 929 | (ACPI_SYSTEM_XFACE * acpi_osd_exec_callback) (void *context); |
@@ -938,7 +939,8 @@ void (*acpi_gbl_event_handler) (u32 event_type, | |||
938 | #define ACPI_EVENT_TYPE_GPE 0 | 939 | #define ACPI_EVENT_TYPE_GPE 0 |
939 | #define ACPI_EVENT_TYPE_FIXED 1 | 940 | #define ACPI_EVENT_TYPE_FIXED 1 |
940 | 941 | ||
941 | typedef u32(*acpi_event_handler) (void *context); | 942 | typedef |
943 | u32(*acpi_event_handler) (void *context); | ||
942 | 944 | ||
943 | typedef | 945 | typedef |
944 | u32 (*acpi_gpe_handler) (acpi_handle gpe_device, u32 gpe_number, void *context); | 946 | u32 (*acpi_gpe_handler) (acpi_handle gpe_device, u32 gpe_number, void *context); |