projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab1536
)
ACPI / fan: remove unused macro
author
Aaron Lu
<aaron.lu@intel.com>
Tue, 19 Nov 2013 06:25:58 +0000
(14:25 +0800)
committer
Zhang Rui
<rui.zhang@intel.com>
Fri, 10 Oct 2014 05:57:11 +0000
(13:57 +0800)
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>
drivers/acpi/fan.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/fan.c
b/drivers/acpi/fan.c
index 8acf53e6296605a013a6359299c3e9cf29bcbf67..562d5f3a1bb567337ab909d7284a3aa58d345d8c 100644
(file)
--- 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");