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/ac.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/ac.c')
-rw-r--r-- | drivers/acpi/ac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c index 17eef27b9ce2..37c7dc4f9fe5 100644 --- a/drivers/acpi/ac.c +++ b/drivers/acpi/ac.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #define ACPI_AC_COMPONENT 0x00020000 | 35 | #define ACPI_AC_COMPONENT 0x00020000 |
36 | #define ACPI_AC_CLASS "ac_adapter" | 36 | #define ACPI_AC_CLASS "ac_adapter" |
37 | #define ACPI_AC_HID "ACPI0003" | 37 | #define ACPI_AC_HID "ACPI0003" |
38 | #define ACPI_AC_DRIVER_NAME "ACPI AC Adapter Driver" | ||
39 | #define ACPI_AC_DEVICE_NAME "AC Adapter" | 38 | #define ACPI_AC_DEVICE_NAME "AC Adapter" |
40 | #define ACPI_AC_FILE_STATE "state" | 39 | #define ACPI_AC_FILE_STATE "state" |
41 | #define ACPI_AC_NOTIFY_STATUS 0x80 | 40 | #define ACPI_AC_NOTIFY_STATUS 0x80 |
@@ -47,7 +46,7 @@ | |||
47 | ACPI_MODULE_NAME("ac"); | 46 | ACPI_MODULE_NAME("ac"); |
48 | 47 | ||
49 | MODULE_AUTHOR("Paul Diefenbaugh"); | 48 | MODULE_AUTHOR("Paul Diefenbaugh"); |
50 | MODULE_DESCRIPTION(ACPI_AC_DRIVER_NAME); | 49 | MODULE_DESCRIPTION("ACPI AC Adapter Driver"); |
51 | MODULE_LICENSE("GPL"); | 50 | MODULE_LICENSE("GPL"); |
52 | 51 | ||
53 | extern struct proc_dir_entry *acpi_lock_ac_dir(void); | 52 | extern struct proc_dir_entry *acpi_lock_ac_dir(void); |