minor ACPI source file cleanup
PATCH 1/2 trivial: ACPI: remove extraneous whitespace from a comment
In reply to Al StoneSigned-off-by Al Stone <[email protected]>
--- drivers/acpi/tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/tables.c +1 -1
@@ -416,7 +416,7 @@ int __init acpi_table_parse(char *id, acpi_tbl_table_handler handler)return -ENODEV ; } -/* +/* * The BIOS is supposed to supply a single APIC/MADT, * but some report two. Provide a knob to use either. * (don't you wish instance 0 and 1 were not the same?)
Signature · 1 line
2.7.4
cover minor ACPI source file cleanup
The first patch is a trivial whitespace cleanup. The second is also simple in that it removes a duplicate declaration from a header file.
Al Stone (2):
ACPI: remove extraneous whitespace from a comment
ACPI: remove duplicate declaration for acpi_table_parse_entries()
drivers/acpi/tables.c | 2 +- include/linux/acpi.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-)
Signature · 1 line
2.7.4
PATCH 2/2 ACPI: remove duplicate declaration for acpi_table_parse_entries()
Commit 9b3fedde27d3 ("ACPI / tables: Add acpi_subtable_proc to ACPI table parsers") added a second identical declaration for the function acpi_table_parse_entries() to include/linux/acpi.h.
Remove the redundant one.
Signed-off-by Al Stone <[email protected]>
--- include/linux/acpi.h | 4 ---- 1 file changed, 4 deletions(-)
include/linux/acpi.h +0 -4
@@ -218,10 +218,6 @@ int __init acpi_table_parse_entries(char *id, unsigned long table_size,int entry_id, acpi_tbl_entry_handler handler, unsigned int max_entries); -int __init acpi_table_parse_entries (char *id,unsigned long table_size, -int entry_id, -acpi_tbl_entry_handler handler, -unsigned int max_entries);int __init acpi_table_parse_entries_array (char *id,unsigned long table_size,struct acpi_subtable_proc *proc,int proc_num,unsigned int max_entries);
Signature · 1 line
2.7.4