summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAaron Lu <aaron.lu@intel.com>2013-11-19 07:25:58 +0100
committerZhang Rui <rui.zhang@intel.com>2014-10-10 07:57:11 +0200
commitbd6ad24342c3bc0476ba3f0b647c5ba0a71b45b4 (patch)
treeb084e72ac86aed3a827e1640e7a44ff62f84f4be /drivers/acpi
parentThermal: int3400 thermal: register to thermal framework (diff)
downloadlinux-bd6ad24342c3bc0476ba3f0b647c5ba0a71b45b4.tar.xz
linux-bd6ad24342c3bc0476ba3f0b647c5ba0a71b45b4.zip
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 8acf53e62966..562d5f3a1bb5 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");