ACPICA: Divergence: remove unwanted spaces for typedef
ACPICA commit b2294cae776f5a66a7697414b21949d307e6856f This patch removes unwanted spaces for typedef. This solution doesn't cover function types. Note that the linuxize result of this commit is very giant and should have many conflicts against the current Linux upstream. Thus it is required to modify the linuxize result of this commit and the commits around it manually in order to have them merged to the Linux upstream. Since this is very costy, we should do this only once, and if we can't ensure to do this only once, we need to revert the Linux code to the wrong indentation result before merging the linuxize result of this commit. Lv Zheng. Link: https://github.com/acpica/acpica/commit/b2294cae Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
8804f2525a
commit
f5c1e1c5a6
80 changed files with 324 additions and 324 deletions
|
@ -72,6 +72,7 @@ acpi_status acpi_ev_init_global_lock_handler(void);
|
|||
ACPI_HW_DEPENDENT_RETURN_OK(acpi_status
|
||||
acpi_ev_acquire_global_lock(u16 timeout))
|
||||
ACPI_HW_DEPENDENT_RETURN_OK(acpi_status acpi_ev_release_global_lock(void))
|
||||
|
||||
acpi_status acpi_ev_remove_global_lock_handler(void);
|
||||
|
||||
/*
|
||||
|
|
|
@ -395,11 +395,12 @@ union acpi_predefined_info {
|
|||
|
||||
/* Return object auto-repair info */
|
||||
|
||||
typedef acpi_status(*acpi_object_converter) (struct acpi_namespace_node * scope,
|
||||
union acpi_operand_object
|
||||
*original_object,
|
||||
union acpi_operand_object
|
||||
**converted_object);
|
||||
typedef acpi_status (*acpi_object_converter) (struct acpi_namespace_node *
|
||||
scope,
|
||||
union acpi_operand_object *
|
||||
original_object,
|
||||
union acpi_operand_object **
|
||||
converted_object);
|
||||
|
||||
struct acpi_simple_repair_info {
|
||||
char name[ACPI_NAME_SIZE];
|
||||
|
@ -541,8 +542,8 @@ struct acpi_gpe_device_info {
|
|||
|
||||
typedef acpi_status (*acpi_gpe_callback) (struct acpi_gpe_xrupt_info *
|
||||
gpe_xrupt_info,
|
||||
struct acpi_gpe_block_info *gpe_block,
|
||||
void *context);
|
||||
struct acpi_gpe_block_info *
|
||||
gpe_block, void *context);
|
||||
|
||||
/* Information about each particular fixed event */
|
||||
|
||||
|
@ -660,7 +661,8 @@ typedef
|
|||
acpi_status (*acpi_parse_downwards) (struct acpi_walk_state * walk_state,
|
||||
union acpi_parse_object ** out_op);
|
||||
|
||||
typedef acpi_status(*acpi_parse_upwards) (struct acpi_walk_state * walk_state);
|
||||
typedef
|
||||
acpi_status (*acpi_parse_upwards) (struct acpi_walk_state * walk_state);
|
||||
|
||||
/* Global handlers for AML Notifies */
|
||||
|
||||
|
@ -700,7 +702,8 @@ union acpi_generic_state {
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
typedef acpi_status(*acpi_execute_op) (struct acpi_walk_state * walk_state);
|
||||
typedef
|
||||
acpi_status (*acpi_execute_op) (struct acpi_walk_state * walk_state);
|
||||
|
||||
/* Address Range info block */
|
||||
|
||||
|
|
|
@ -490,8 +490,8 @@ acpi_status acpi_ds_load2_end_op(struct acpi_walk_state *walk_state)
|
|||
|
||||
status =
|
||||
acpi_ds_create_index_field(op,
|
||||
(acpi_handle) arg->
|
||||
common.node, walk_state);
|
||||
(acpi_handle)arg->common.
|
||||
node, walk_state);
|
||||
break;
|
||||
|
||||
case AML_BANK_FIELD_OP:
|
||||
|
|
|
@ -99,8 +99,7 @@ u8 acpi_ev_is_notify_object(struct acpi_namespace_node *node)
|
|||
******************************************************************************/
|
||||
|
||||
acpi_status
|
||||
acpi_ev_queue_notify_request(struct acpi_namespace_node * node,
|
||||
u32 notify_value)
|
||||
acpi_ev_queue_notify_request(struct acpi_namespace_node *node, u32 notify_value)
|
||||
{
|
||||
union acpi_operand_object *obj_desc;
|
||||
union acpi_operand_object *handler_list_head = NULL;
|
||||
|
|
|
@ -91,8 +91,7 @@ acpi_status acpi_reset(void)
|
|||
* compatibility with other ACPI implementations that have allowed
|
||||
* BIOS code with bad register width values to go unnoticed.
|
||||
*/
|
||||
status =
|
||||
acpi_os_write_port((acpi_io_address) reset_reg->address,
|
||||
status = acpi_os_write_port((acpi_io_address)reset_reg->address,
|
||||
acpi_gbl_FADT.reset_value,
|
||||
ACPI_RESET_REGISTER_WIDTH);
|
||||
} else {
|
||||
|
|
|
@ -55,8 +55,8 @@ ACPI_MODULE_NAME("nsrepair2")
|
|||
*/
|
||||
typedef
|
||||
acpi_status (*acpi_repair_function) (struct acpi_evaluate_info * info,
|
||||
union acpi_operand_object
|
||||
**return_object_ptr);
|
||||
union acpi_operand_object **
|
||||
return_object_ptr);
|
||||
|
||||
typedef struct acpi_repair_info {
|
||||
char name[ACPI_NAME_SIZE];
|
||||
|
|
|
@ -467,8 +467,7 @@ acpi_status acpi_tb_resize_root_table_list(void)
|
|||
|
||||
if (acpi_gbl_root_table_list.tables) {
|
||||
memcpy(tables, acpi_gbl_root_table_list.tables,
|
||||
(acpi_size) table_count *
|
||||
sizeof(struct acpi_table_desc));
|
||||
(acpi_size)table_count * sizeof(struct acpi_table_desc));
|
||||
|
||||
if (acpi_gbl_root_table_list.flags & ACPI_ROOT_ORIGIN_ALLOCATED) {
|
||||
ACPI_FREE(acpi_gbl_root_table_list.tables);
|
||||
|
|
|
@ -272,8 +272,7 @@ acpi_status acpi_ut_validate_buffer(struct acpi_buffer * buffer)
|
|||
******************************************************************************/
|
||||
|
||||
acpi_status
|
||||
acpi_ut_initialize_buffer(struct acpi_buffer * buffer,
|
||||
acpi_size required_length)
|
||||
acpi_ut_initialize_buffer(struct acpi_buffer *buffer, acpi_size required_length)
|
||||
{
|
||||
acpi_size input_buffer_length;
|
||||
|
||||
|
|
|
@ -184,8 +184,7 @@ acpi_status acpi_os_delete_cache(struct acpi_memory_list * cache)
|
|||
*
|
||||
******************************************************************************/
|
||||
|
||||
acpi_status
|
||||
acpi_os_release_object(struct acpi_memory_list * cache, void *object)
|
||||
acpi_status acpi_os_release_object(struct acpi_memory_list *cache, void *object)
|
||||
{
|
||||
acpi_status status;
|
||||
|
||||
|
|
|
@ -484,8 +484,8 @@ ACPI_EXTERNAL_RETURN_STATUS(acpi_status __init acpi_load_tables(void))
|
|||
ACPI_EXTERNAL_RETURN_STATUS(acpi_status __init acpi_reallocate_root_table(void))
|
||||
|
||||
ACPI_EXTERNAL_RETURN_STATUS(acpi_status __init
|
||||
acpi_find_root_pointer(acpi_physical_address *
|
||||
rsdp_address))
|
||||
acpi_find_root_pointer(acpi_physical_address
|
||||
*rsdp_address))
|
||||
ACPI_EXTERNAL_RETURN_STATUS(acpi_status
|
||||
acpi_get_table_header(acpi_string signature,
|
||||
u32 instance,
|
||||
|
@ -938,6 +938,7 @@ ACPI_DBG_DEPENDENT_RETURN_VOID(void
|
|||
ACPI_APP_DEPENDENT_RETURN_VOID(ACPI_PRINTF_LIKE(1)
|
||||
void ACPI_INTERNAL_VAR_XFACE
|
||||
acpi_log_error(const char *format, ...))
|
||||
|
||||
acpi_status acpi_initialize_debugger(void);
|
||||
|
||||
void acpi_terminate_debugger(void);
|
||||
|
|
|
@ -1072,7 +1072,8 @@ void (*acpi_notify_handler) (acpi_handle device, u32 value, void *context);
|
|||
typedef
|
||||
void (*acpi_object_handler) (acpi_handle object, void *data);
|
||||
|
||||
typedef acpi_status(*acpi_init_handler) (acpi_handle object, u32 function);
|
||||
typedef
|
||||
acpi_status (*acpi_init_handler) (acpi_handle object, u32 function);
|
||||
|
||||
#define ACPI_INIT_DEVICE_INI 1
|
||||
|
||||
|
|
|
@ -863,8 +863,7 @@ osl_get_bios_table(char *signature,
|
|||
(acpi_physical_address)gbl_rsdp.
|
||||
rsdt_physical_address;
|
||||
} else {
|
||||
table_address =
|
||||
(acpi_physical_address) gbl_rsdp_address;
|
||||
table_address = (acpi_physical_address)gbl_rsdp_address;
|
||||
signature = ACPI_SIG_RSDP;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue