linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] minor ACPI source file cleanup
@ 2016-08-19 23:16 Al Stone
  2016-08-19 23:16 ` [PATCH 1/2] trivial: ACPI: remove extraneous whitespace from a comment Al Stone
  2016-08-19 23:16 ` [PATCH 2/2] ACPI: remove duplicate declaration for acpi_table_parse_entries() Al Stone
  0 siblings, 2 replies; 3+ messages in thread
From: Al Stone @ 2016-08-19 23:16 UTC (permalink / raw)
  To: linux-acpi, linux-kernel; +Cc: ahs3

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(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] trivial: ACPI: remove extraneous whitespace from a comment
  2016-08-19 23:16 [PATCH 0/2] minor ACPI source file cleanup Al Stone
@ 2016-08-19 23:16 ` Al Stone
  2016-08-19 23:16 ` [PATCH 2/2] ACPI: remove duplicate declaration for acpi_table_parse_entries() Al Stone
  1 sibling, 0 replies; 3+ messages in thread
From: Al Stone @ 2016-08-19 23:16 UTC (permalink / raw)
  To: linux-acpi, linux-kernel; +Cc: ahs3

Signed-off-by: Al Stone <ahs3@redhat.com>
---
 drivers/acpi/tables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
index 9f0ad6e..fa6fd19 100644
--- a/drivers/acpi/tables.c
+++ b/drivers/acpi/tables.c
@@ -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?)
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] ACPI: remove duplicate declaration for acpi_table_parse_entries()
  2016-08-19 23:16 [PATCH 0/2] minor ACPI source file cleanup Al Stone
  2016-08-19 23:16 ` [PATCH 1/2] trivial: ACPI: remove extraneous whitespace from a comment Al Stone
@ 2016-08-19 23:16 ` Al Stone
  1 sibling, 0 replies; 3+ messages in thread
From: Al Stone @ 2016-08-19 23:16 UTC (permalink / raw)
  To: linux-acpi, linux-kernel; +Cc: ahs3

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 <ahs3@redhat.com>
---
 include/linux/acpi.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/linux/acpi.h b/include/linux/acpi.h
index 4d8452c..cd8dc0e 100644
--- a/include/linux/acpi.h
+++ b/include/linux/acpi.h
@@ -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);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-19 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-19 23:16 [PATCH 0/2] minor ACPI source file cleanup Al Stone
2016-08-19 23:16 ` [PATCH 1/2] trivial: ACPI: remove extraneous whitespace from a comment Al Stone
2016-08-19 23:16 ` [PATCH 2/2] ACPI: remove duplicate declaration for acpi_table_parse_entries() Al Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).