diff options
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r-- | drivers/acpi/thermal.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index 442bfd50dc3d..15022bc86336 100644 --- a/drivers/acpi/thermal.c +++ b/drivers/acpi/thermal.c | |||
@@ -47,7 +47,6 @@ | |||
47 | 47 | ||
48 | #define ACPI_THERMAL_COMPONENT 0x04000000 | 48 | #define ACPI_THERMAL_COMPONENT 0x04000000 |
49 | #define ACPI_THERMAL_CLASS "thermal_zone" | 49 | #define ACPI_THERMAL_CLASS "thermal_zone" |
50 | #define ACPI_THERMAL_DRIVER_NAME "ACPI Thermal Zone Driver" | ||
51 | #define ACPI_THERMAL_DEVICE_NAME "Thermal Zone" | 50 | #define ACPI_THERMAL_DEVICE_NAME "Thermal Zone" |
52 | #define ACPI_THERMAL_FILE_STATE "state" | 51 | #define ACPI_THERMAL_FILE_STATE "state" |
53 | #define ACPI_THERMAL_FILE_TEMPERATURE "temperature" | 52 | #define ACPI_THERMAL_FILE_TEMPERATURE "temperature" |
@@ -71,10 +70,10 @@ | |||
71 | #define CELSIUS_TO_KELVIN(t) ((t+273)*10) | 70 | #define CELSIUS_TO_KELVIN(t) ((t+273)*10) |
72 | 71 | ||
73 | #define _COMPONENT ACPI_THERMAL_COMPONENT | 72 | #define _COMPONENT ACPI_THERMAL_COMPONENT |
74 | ACPI_MODULE_NAME("acpi_thermal") | 73 | ACPI_MODULE_NAME("thermal"); |
75 | 74 | ||
76 | MODULE_AUTHOR("Paul Diefenbaugh"); | 75 | MODULE_AUTHOR("Paul Diefenbaugh"); |
77 | MODULE_DESCRIPTION(ACPI_THERMAL_DRIVER_NAME); | 76 | MODULE_DESCRIPTION("ACPI Thermal Zone Driver"); |
78 | MODULE_LICENSE("GPL"); | 77 | MODULE_LICENSE("GPL"); |
79 | 78 | ||
80 | static int tzp; | 79 | static int tzp; |
@@ -99,7 +98,7 @@ static ssize_t acpi_thermal_write_polling(struct file *, const char __user *, | |||
99 | size_t, loff_t *); | 98 | size_t, loff_t *); |
100 | 99 | ||
101 | static struct acpi_driver acpi_thermal_driver = { | 100 | static struct acpi_driver acpi_thermal_driver = { |
102 | .name = ACPI_THERMAL_DRIVER_NAME, | 101 | .name = "thermal", |
103 | .class = ACPI_THERMAL_CLASS, | 102 | .class = ACPI_THERMAL_CLASS, |
104 | .ids = ACPI_THERMAL_HID, | 103 | .ids = ACPI_THERMAL_HID, |
105 | .ops = { | 104 | .ops = { |