Commit 2e018c59 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Rafael J. Wysocki

ACPI / tables: Clean up whitespace

Cleanup some whitespace to match the rest of the file.  No functional
change intended.
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 8c2ffd91
...@@ -240,8 +240,7 @@ void acpi_table_print_madt_entry(struct acpi_subtable_header *header) ...@@ -240,8 +240,7 @@ void acpi_table_print_madt_entry(struct acpi_subtable_header *header)
* On success returns sum of all matching entries for all proc handlers. * On success returns sum of all matching entries for all proc handlers.
* Otherwise, -ENODEV or -EINVAL is returned. * Otherwise, -ENODEV or -EINVAL is returned.
*/ */
static int __init static int __init acpi_parse_entries_array(char *id, unsigned long table_size,
acpi_parse_entries_array(char *id, unsigned long table_size,
struct acpi_table_header *table_header, struct acpi_table_header *table_header,
struct acpi_subtable_proc *proc, int proc_num, struct acpi_subtable_proc *proc, int proc_num,
unsigned int max_entries) unsigned int max_entries)
...@@ -314,8 +313,7 @@ acpi_parse_entries_array(char *id, unsigned long table_size, ...@@ -314,8 +313,7 @@ acpi_parse_entries_array(char *id, unsigned long table_size,
return errs ? -EINVAL : count; return errs ? -EINVAL : count;
} }
int __init int __init acpi_table_parse_entries_array(char *id,
acpi_table_parse_entries_array(char *id,
unsigned long table_size, unsigned long table_size,
struct acpi_subtable_proc *proc, int proc_num, struct acpi_subtable_proc *proc, int proc_num,
unsigned int max_entries) unsigned int max_entries)
...@@ -346,8 +344,7 @@ acpi_table_parse_entries_array(char *id, ...@@ -346,8 +344,7 @@ acpi_table_parse_entries_array(char *id,
return count; return count;
} }
int __init int __init acpi_table_parse_entries(char *id,
acpi_table_parse_entries(char *id,
unsigned long table_size, unsigned long table_size,
int entry_id, int entry_id,
acpi_tbl_entry_handler handler, acpi_tbl_entry_handler handler,
...@@ -362,8 +359,7 @@ acpi_table_parse_entries(char *id, ...@@ -362,8 +359,7 @@ acpi_table_parse_entries(char *id,
max_entries); max_entries);
} }
int __init int __init acpi_table_parse_madt(enum acpi_madt_type id,
acpi_table_parse_madt(enum acpi_madt_type id,
acpi_tbl_entry_handler handler, unsigned int max_entries) acpi_tbl_entry_handler handler, unsigned int max_entries)
{ {
return acpi_table_parse_entries(ACPI_SIG_MADT, return acpi_table_parse_entries(ACPI_SIG_MADT,
...@@ -725,8 +721,7 @@ static void *amlcode __attribute__ ((weakref("AmlCode"))); ...@@ -725,8 +721,7 @@ static void *amlcode __attribute__ ((weakref("AmlCode")));
static void *dsdt_amlcode __attribute__ ((weakref("dsdt_aml_code"))); static void *dsdt_amlcode __attribute__ ((weakref("dsdt_aml_code")));
#endif #endif
acpi_status acpi_status acpi_os_table_override(struct acpi_table_header *existing_table,
acpi_os_table_override(struct acpi_table_header *existing_table,
struct acpi_table_header **new_table) struct acpi_table_header **new_table)
{ {
if (!existing_table || !new_table) if (!existing_table || !new_table)
...@@ -788,7 +783,6 @@ static int __init acpi_parse_apic_instance(char *str) ...@@ -788,7 +783,6 @@ static int __init acpi_parse_apic_instance(char *str)
return 0; return 0;
} }
early_param("acpi_apic_instance", acpi_parse_apic_instance); early_param("acpi_apic_instance", acpi_parse_apic_instance);
static int __init acpi_force_table_verification_setup(char *s) static int __init acpi_force_table_verification_setup(char *s)
...@@ -797,7 +791,6 @@ static int __init acpi_force_table_verification_setup(char *s) ...@@ -797,7 +791,6 @@ static int __init acpi_force_table_verification_setup(char *s)
return 0; return 0;
} }
early_param("acpi_force_table_verification", acpi_force_table_verification_setup); early_param("acpi_force_table_verification", acpi_force_table_verification_setup);
static int __init acpi_force_32bit_fadt_addr(char *s) static int __init acpi_force_32bit_fadt_addr(char *s)
...@@ -807,5 +800,4 @@ static int __init acpi_force_32bit_fadt_addr(char *s) ...@@ -807,5 +800,4 @@ static int __init acpi_force_32bit_fadt_addr(char *s)
return 0; return 0;
} }
early_param("acpi_force_32bit_fadt_addr", acpi_force_32bit_fadt_addr); early_param("acpi_force_32bit_fadt_addr", acpi_force_32bit_fadt_addr);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment