linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Kaneda <erik.kaneda@intel.com>
To: "Rafael J . Wysocki" <rafael@kernel.org>, linux-acpi@vger.kernel.org
Cc: Erik Kaneda <erik.kaneda@intel.com>, Bob Moore <robert.moore@intel.com>
Subject: [PATCH 01/10] ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree ()
Date: Fri, 14 Feb 2020 10:47:55 -0800	[thread overview]
Message-ID: <20200214184804.15114-2-erik.kaneda@intel.com> (raw)
In-Reply-To: <20200214184804.15114-1-erik.kaneda@intel.com>

ACPICA commit 3ba6fa55a4a32d8b6fc28f9f285506ea0e359296

These parameters can be computed inside of the function from the
Table parameter.

Link: https://github.com/acpica/acpica/commit/3ba6fa55
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/acconvert.h | 4 +---
 drivers/acpi/acpica/acmacros.h  | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/acpi/acpica/acconvert.h b/drivers/acpi/acpica/acconvert.h
index ede4b9cc9e85..9eca93656116 100644
--- a/drivers/acpi/acpica/acconvert.h
+++ b/drivers/acpi/acpica/acconvert.h
@@ -65,9 +65,7 @@ void cg_write_aml_comment(union acpi_parse_object *op);
 /*
  * cvparser
  */
-void
-cv_init_file_tree(struct acpi_table_header *table,
-		  u8 *aml_start, u32 aml_length);
+void cv_init_file_tree(struct acpi_table_header *table);
 
 void cv_clear_op_comments(union acpi_parse_object *op);
 
diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h
index 2269e10bc21b..87d06c963a60 100644
--- a/drivers/acpi/acpica/acmacros.h
+++ b/drivers/acpi/acpica/acmacros.h
@@ -477,7 +477,7 @@
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d) cv_print_one_comment_type (a,b,c,d);
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b) cv_print_one_comment_list (a,b);
 #define ASL_CV_FILE_HAS_SWITCHED(a)       cv_file_has_switched(a)
-#define ASL_CV_INIT_FILETREE(a,b,c)      cv_init_file_tree(a,b,c);
+#define ASL_CV_INIT_FILETREE(a)      cv_init_file_tree(a);
 
 #else
 
@@ -492,7 +492,7 @@
 #define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d)
 #define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b)
 #define ASL_CV_FILE_HAS_SWITCHED(a)       0
-#define ASL_CV_INIT_FILETREE(a,b,c)
+#define ASL_CV_INIT_FILETREE(a)
 
 #endif
 
-- 
2.21.0


  reply	other threads:[~2020-02-14 19:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14 18:47 [PATCH 00/10] ACPICA release 20200214 Erik Kaneda
2020-02-14 18:47 ` Erik Kaneda [this message]
2020-02-14 18:47 ` [PATCH 02/10] ACPICA: ASL-ASL+ converter: make root file a parameter for cv_init_file_tree Erik Kaneda
2020-02-14 18:47 ` [PATCH 03/10] ACPICA: Fix a comment "enable" fixed events -> "disable" all fixed events Erik Kaneda
2020-02-14 18:47 ` [PATCH 04/10] ACPICA: Enable sleep button on ACPI legacy wake Erik Kaneda
2020-02-14 18:47 ` [PATCH 05/10] ACPICA: Table Manager: Update comments in a function header Erik Kaneda
2020-02-14 18:48 ` [PATCH 06/10] ACPICA: cast the result of the pointer difference to u32 Erik Kaneda
2020-02-14 18:48 ` [PATCH 07/10] ACPICA: cast length arguement to acpi_ns_build_normalized_path() as u32 Erik Kaneda
2020-02-14 18:48 ` [PATCH 08/10] ACPICA: use acpi_size instead of u32 for prefix_path_length Erik Kaneda
2020-02-14 18:48 ` [PATCH 09/10] ACPICA: Fix a couple of typos Erik Kaneda
2020-02-14 18:48 ` [PATCH 10/10] ACPICA: Update version to 20200214 Version 20200214 Erik Kaneda
2020-02-16  9:22 ` [PATCH 00/10] ACPICA release 20200214 Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200214184804.15114-2-erik.kaneda@intel.com \
    --to=erik.kaneda@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=robert.moore@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).