Skip to contentSkip to conversation

minor ACPI source file cleanup

PATCH New Al Stone 1 participant 3 messages Aug 19, 2016 ACPI

lore
Share & tools
lore
author
#1 lore raw

PATCH 1/2 trivial: ACPI: remove extraneous whitespace from a comment

In reply to Al Stone
---
 drivers/acpi/tables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/tables.c +1 -1
index 9f0ad6e..fa6fd19 100644
@@ -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

Al Stone

author
#0 lore raw

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
author
#2 lore raw

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.

---
 include/linux/acpi.h | 4 ----
 1 file changed, 4 deletions(-)
include/linux/acpi.h +0 -4
index 4d8452c..cd8dc0e 100644
@@ -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