2021-02-22 19:04:19

by Rafael J. Wysocki

[permalink] [raw]
Subject: [PATCH v1 4/4] ACPI: HED: Drop unused ACPI_MODULE_NAME() definition

From: Rafael J. Wysocki <[email protected]>

ACPI_MODULE_NAME() is only used by ACPICA message printing which in
turn is not used by the ACPI HED driver, so drop that definition from
there.

No functional impact.

Signed-off-by: Rafael J. Wysocki <[email protected]>
---
drivers/acpi/hed.c | 1 -
1 file changed, 1 deletion(-)

Index: linux-pm/drivers/acpi/hed.c
===================================================================
--- linux-pm.orig/drivers/acpi/hed.c
+++ linux-pm/drivers/acpi/hed.c
@@ -74,7 +74,6 @@ static struct acpi_driver acpi_hed_drive
};
module_acpi_driver(acpi_hed_driver);

-ACPI_MODULE_NAME("hed");
MODULE_AUTHOR("Huang Ying");
MODULE_DESCRIPTION("ACPI Hardware Error Device Driver");
MODULE_LICENSE("GPL");