linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hanjun Guo <guohanjun@huawei.com>
To: <linux-acpi@vger.kernel.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Hanjun Guo <guohanjun@huawei.com>
Subject: [PATCH v2 11/15] ACPI: proc: Remove the dead ACPICA debug code
Date: Thu, 24 Sep 2020 10:57:03 +0800	[thread overview]
Message-ID: <1600916227-21805-12-git-send-email-guohanjun@huawei.com> (raw)
In-Reply-To: <1600916227-21805-1-git-send-email-guohanjun@huawei.com>

Remove the not used ACPICA debug code _COMPONENT and ACPI_MODULE_NAME()
which were not used even when proc.c was introduced.

Signed-off-by: Hanjun Guo <guohanjun@huawei.com>
---
 drivers/acpi/proc.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/acpi/proc.c b/drivers/acpi/proc.c
index 7892980..0cca799 100644
--- a/drivers/acpi/proc.c
+++ b/drivers/acpi/proc.c
@@ -10,15 +10,11 @@
 #include "sleep.h"
 #include "internal.h"
 
-#define _COMPONENT		ACPI_SYSTEM_COMPONENT
-
 /*
  * this file provides support for:
  * /proc/acpi/wakeup
  */
 
-ACPI_MODULE_NAME("sleep")
-
 static int
 acpi_system_wakeup_device_seq_show(struct seq_file *seq, void *offset)
 {
-- 
1.7.12.4


  parent reply	other threads:[~2020-09-24  3:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-24  2:56 [PATCH v2 00/15] Cleanups before decoupling ACPICA debug with ACPI driver Hanjun Guo
2020-09-24  2:56 ` [PATCH v2 01/15] ACPI: cmos_rtc: Remove the leftover ACPICA code ACPI_MODULE_NAME() Hanjun Guo
2020-09-24  2:56 ` [PATCH v2 02/15] ACPI: LPSS: Remove the ACPI_MODULE_NAME() Hanjun Guo
2020-09-24  2:56 ` [PATCH v2 03/15] ACPI: memhotplug: Remove the leftover ACPICA debug functionality Hanjun Guo
2020-09-24  2:56 ` [PATCH v2 04/15] ACPI: platform: Remove the ACPI_MODULE_NAME() Hanjun Guo
2020-09-24  2:56 ` [PATCH v2 05/15] ACPI: container: Remove the leftover ACPICA debug functionality Hanjun Guo
2020-09-24  2:56 ` [PATCH v2 06/15] ACPI: custom_method: Remove the dead ACPICA debug code Hanjun Guo
2020-09-24  2:56 ` [PATCH v2 07/15] ACPI: debugfs: " Hanjun Guo
2020-09-24  2:57 ` [PATCH v2 08/15] ACPI: dock: " Hanjun Guo
2020-09-24  2:57 ` [PATCH v2 09/15] ACPI: event: Remove the leftover " Hanjun Guo
2020-09-24  2:57 ` [PATCH v2 10/15] ACPI: PCI: Remove the unused " Hanjun Guo
2020-09-24  2:57 ` Hanjun Guo [this message]
2020-09-24  2:57 ` [PATCH v2 12/15] ACPI: processor: Remove the dead " Hanjun Guo
2020-09-24  2:57 ` [PATCH v2 13/15] ACPI: tiny-power-button: " Hanjun Guo
2020-09-24  2:57 ` [PATCH v2 14/15] ACPI: video: Remove the leftover " Hanjun Guo
2020-09-24  2:57 ` [PATCH v2 15/15] ACPI: wakeup: Remove the dead " Hanjun Guo
2020-09-25 16:27 ` [PATCH v2 00/15] Cleanups before decoupling ACPICA debug with ACPI driver 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=1600916227-21805-12-git-send-email-guohanjun@huawei.com \
    --to=guohanjun@huawei.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    /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).