mbox series

[v2,00/15] Cleanups before decoupling ACPICA debug with ACPI driver

Message ID 1600916227-21805-1-git-send-email-guohanjun@huawei.com (mailing list archive)
Headers show
Series Cleanups before decoupling ACPICA debug with ACPI driver | expand

Message

Hanjun Guo Sept. 24, 2020, 2:56 a.m. UTC
With the evolution of the ACPI driver code, lots of the ACPICA debug            
functions such as ACPI_DEBUG_PRINT() used in ACPI drivers were removed
away, this makes some of the ACPICA debug code in ACPI driver as dead,
for example, _COMPONENT and ACPI_MODULE_NAME() are useless without
ACPICA debug functions.

This patch set will cleanup those dead code before decoupling ACPICA
debug with ACPI driver, should be no functional change.

v1->v2:
- Remove patches that not for ACPICA debug cleanups, send them
  seperately, this patch set only contains cleanups for ACPICA debug
  functionality.

Hanjun Guo (15):
  ACPI: cmos_rtc: Remove the leftover ACPICA code ACPI_MODULE_NAME()
  ACPI: LPSS: Remove the ACPI_MODULE_NAME()
  ACPI: memhotplug: Remove the leftover ACPICA debug functionality
  ACPI: platform: Remove the ACPI_MODULE_NAME()
  ACPI: container: Remove the leftover ACPICA debug functionality
  ACPI: custom_method: Remove the dead ACPICA debug code
  ACPI: debugfs: Remove the dead ACPICA debug code
  ACPI: dock: Remove the dead ACPICA debug code
  ACPI: event: Remove the leftover ACPICA debug code
  ACPI: PCI: Remove the unused ACPICA debug code
  ACPI: proc: Remove the dead ACPICA debug code
  ACPI: processor: Remove the dead ACPICA debug code
  ACPI: tiny-power-button: Remove the dead ACPICA debug code
  ACPI: video: Remove the leftover ACPICA debug code
  ACPI: wakeup: Remove the dead ACPICA debug code

 drivers/acpi/acpi_cmos_rtc.c     | 2 --
 drivers/acpi/acpi_lpss.c         | 2 --
 drivers/acpi/acpi_memhotplug.c   | 7 -------
 drivers/acpi/acpi_platform.c     | 2 --
 drivers/acpi/container.c         | 3 ---
 drivers/acpi/custom_method.c     | 2 --
 drivers/acpi/debugfs.c           | 3 ---
 drivers/acpi/dock.c              | 2 --
 drivers/acpi/event.c             | 3 ---
 drivers/acpi/pci_root.c          | 2 --
 drivers/acpi/pci_slot.c          | 3 ---
 drivers/acpi/proc.c              | 4 ----
 drivers/acpi/processor_core.c    | 3 ---
 drivers/acpi/processor_thermal.c | 2 --
 drivers/acpi/tiny-power-button.c | 1 -
 drivers/acpi/video_detect.c      | 3 ---
 drivers/acpi/wakeup.c            | 2 --
 17 files changed, 46 deletions(-)

Comments

Rafael J. Wysocki Sept. 25, 2020, 4:27 p.m. UTC | #1
On Thu, Sep 24, 2020 at 5:12 AM Hanjun Guo <guohanjun@huawei.com> wrote:
>
> With the evolution of the ACPI driver code, lots of the ACPICA debug
> functions such as ACPI_DEBUG_PRINT() used in ACPI drivers were removed
> away, this makes some of the ACPICA debug code in ACPI driver as dead,
> for example, _COMPONENT and ACPI_MODULE_NAME() are useless without
> ACPICA debug functions.
>
> This patch set will cleanup those dead code before decoupling ACPICA
> debug with ACPI driver, should be no functional change.
>
> v1->v2:
> - Remove patches that not for ACPICA debug cleanups, send them
>   seperately, this patch set only contains cleanups for ACPICA debug
>   functionality.
>
> Hanjun Guo (15):
>   ACPI: cmos_rtc: Remove the leftover ACPICA code ACPI_MODULE_NAME()
>   ACPI: LPSS: Remove the ACPI_MODULE_NAME()
>   ACPI: memhotplug: Remove the leftover ACPICA debug functionality
>   ACPI: platform: Remove the ACPI_MODULE_NAME()
>   ACPI: container: Remove the leftover ACPICA debug functionality
>   ACPI: custom_method: Remove the dead ACPICA debug code
>   ACPI: debugfs: Remove the dead ACPICA debug code
>   ACPI: dock: Remove the dead ACPICA debug code
>   ACPI: event: Remove the leftover ACPICA debug code
>   ACPI: PCI: Remove the unused ACPICA debug code
>   ACPI: proc: Remove the dead ACPICA debug code
>   ACPI: processor: Remove the dead ACPICA debug code
>   ACPI: tiny-power-button: Remove the dead ACPICA debug code
>   ACPI: video: Remove the leftover ACPICA debug code
>   ACPI: wakeup: Remove the dead ACPICA debug code

All applied as 5.10 material with minor subject and changelog edits, thanks!