summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/battery.c
diff options
context:
space:
mode:
authorLen Brown2007-02-13 05:50:02 +0100
committerLen Brown2007-02-13 05:50:52 +0100
commit7cda93e008e1a477970adbf82dba81a5d4f0ae40 (patch)
tree7127b8e20ed4725eb890b5731ca80f2beb585da4 /drivers/acpi/battery.c
parentACPI: fix acpi_driver.name usage (diff)
downloadkernel-qcow2-linux-7cda93e008e1a477970adbf82dba81a5d4f0ae40.tar.gz
kernel-qcow2-linux-7cda93e008e1a477970adbf82dba81a5d4f0ae40.tar.xz
kernel-qcow2-linux-7cda93e008e1a477970adbf82dba81a5d4f0ae40.zip
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/battery.c')
-rw-r--r--drivers/acpi/battery.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index da29d9d61c34..02de49ef1bce 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -42,7 +42,6 @@
#define ACPI_BATTERY_COMPONENT 0x00040000
#define ACPI_BATTERY_CLASS "battery"
#define ACPI_BATTERY_HID "PNP0C0A"
-#define ACPI_BATTERY_DRIVER_NAME "ACPI Battery Driver"
#define ACPI_BATTERY_DEVICE_NAME "Battery"
#define ACPI_BATTERY_FILE_INFO "info"
#define ACPI_BATTERY_FILE_STATUS "state"
@@ -56,7 +55,7 @@
ACPI_MODULE_NAME("battery");
MODULE_AUTHOR("Paul Diefenbaugh");
-MODULE_DESCRIPTION(ACPI_BATTERY_DRIVER_NAME);
+MODULE_DESCRIPTION("ACPI Battery Driver");
MODULE_LICENSE("GPL");
extern struct proc_dir_entry *acpi_lock_battery_dir(void);