diff options
author | Len Brown <len.brown@intel.com> | 2007-02-12 23:50:02 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-12 23:50:52 -0500 |
commit | 7cda93e008e1a477970adbf82dba81a5d4f0ae40 (patch) | |
tree | 7127b8e20ed4725eb890b5731ca80f2beb585da4 /drivers/acpi/button.c | |
parent | c2b6705b75d9c7aff98a4602a32230639e10891c (diff) |
ACPI: delete extra #defines in /drivers/acpi/ drivers
Cosmetic only.
Except in a single case, #define ACPI_*_DRIVER_NAME
were invoked 0 or 1 times.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/button.c')
-rw-r--r-- | drivers/acpi/button.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 45f960d4cd8..cb4110b50cd 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <acpi/acpi_drivers.h> | 34 | #include <acpi/acpi_drivers.h> |
35 | 35 | ||
36 | #define ACPI_BUTTON_COMPONENT 0x00080000 | 36 | #define ACPI_BUTTON_COMPONENT 0x00080000 |
37 | #define ACPI_BUTTON_DRIVER_NAME "ACPI Button Driver" | ||
38 | #define ACPI_BUTTON_CLASS "button" | 37 | #define ACPI_BUTTON_CLASS "button" |
39 | #define ACPI_BUTTON_FILE_INFO "info" | 38 | #define ACPI_BUTTON_FILE_INFO "info" |
40 | #define ACPI_BUTTON_FILE_STATE "state" | 39 | #define ACPI_BUTTON_FILE_STATE "state" |
@@ -64,7 +63,7 @@ | |||
64 | ACPI_MODULE_NAME("button"); | 63 | ACPI_MODULE_NAME("button"); |
65 | 64 | ||
66 | MODULE_AUTHOR("Paul Diefenbaugh"); | 65 | MODULE_AUTHOR("Paul Diefenbaugh"); |
67 | MODULE_DESCRIPTION(ACPI_BUTTON_DRIVER_NAME); | 66 | MODULE_DESCRIPTION("ACPI Button Driver"); |
68 | MODULE_LICENSE("GPL"); | 67 | MODULE_LICENSE("GPL"); |
69 | 68 | ||
70 | static int acpi_button_add(struct acpi_device *device); | 69 | static int acpi_button_add(struct acpi_device *device); |