summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2013-11-19 14:25:58 +0800
committerZhang Rui <rui.zhang@intel.com>2014-10-10 13:57:11 +0800
commitbd6ad24342c3bc0476ba3f0b647c5ba0a71b45b4 (patch)
treeb084e72ac86aed3a827e1640e7a44ff62f84f4be /drivers/acpi
parent0ab15365ff38c8433f4d0cc2d11a1184e2c991cf (diff)
downloadop-kernel-dev-bd6ad24342c3bc0476ba3f0b647c5ba0a71b45b4.zip
op-kernel-dev-bd6ad24342c3bc0476ba3f0b647c5ba0a71b45b4.tar.gz
ACPI / fan: remove unused macro
The _COMPONENT, ACPI_MODULE_NAME(name) and ACPI_FAN_FILE_STATE are not used anywhere so remove them. Signed-off-by: Aaron Lu <aaron.lu@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/fan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c
index 8acf53e..562d5f3 100644
--- a/drivers/acpi/fan.c
+++ b/drivers/acpi/fan.c
@@ -34,10 +34,6 @@
#define PREFIX "ACPI: "
#define ACPI_FAN_CLASS "fan"
-#define ACPI_FAN_FILE_STATE "state"
-
-#define _COMPONENT ACPI_FAN_COMPONENT
-ACPI_MODULE_NAME("fan");
MODULE_AUTHOR("Paul Diefenbaugh");
MODULE_DESCRIPTION("ACPI Fan Driver");
OpenPOWER on IntegriCloud