diff options
Diffstat (limited to 'drivers/acpi/fan.c')
-rw-r--r-- | drivers/acpi/fan.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c index af22fdf73413..ec655c539492 100644 --- a/drivers/acpi/fan.c +++ b/drivers/acpi/fan.c | |||
@@ -36,14 +36,13 @@ | |||
36 | 36 | ||
37 | #define ACPI_FAN_COMPONENT 0x00200000 | 37 | #define ACPI_FAN_COMPONENT 0x00200000 |
38 | #define ACPI_FAN_CLASS "fan" | 38 | #define ACPI_FAN_CLASS "fan" |
39 | #define ACPI_FAN_DRIVER_NAME "ACPI Fan Driver" | ||
40 | #define ACPI_FAN_FILE_STATE "state" | 39 | #define ACPI_FAN_FILE_STATE "state" |
41 | 40 | ||
42 | #define _COMPONENT ACPI_FAN_COMPONENT | 41 | #define _COMPONENT ACPI_FAN_COMPONENT |
43 | ACPI_MODULE_NAME("acpi_fan") | 42 | ACPI_MODULE_NAME("fan"); |
44 | 43 | ||
45 | MODULE_AUTHOR("Paul Diefenbaugh"); | 44 | MODULE_AUTHOR("Paul Diefenbaugh"); |
46 | MODULE_DESCRIPTION(ACPI_FAN_DRIVER_NAME); | 45 | MODULE_DESCRIPTION("ACPI Fan Driver"); |
47 | MODULE_LICENSE("GPL"); | 46 | MODULE_LICENSE("GPL"); |
48 | 47 | ||
49 | static int acpi_fan_add(struct acpi_device *device); | 48 | static int acpi_fan_add(struct acpi_device *device); |
@@ -52,7 +51,7 @@ static int acpi_fan_suspend(struct acpi_device *device, pm_message_t state); | |||
52 | static int acpi_fan_resume(struct acpi_device *device); | 51 | static int acpi_fan_resume(struct acpi_device *device); |
53 | 52 | ||
54 | static struct acpi_driver acpi_fan_driver = { | 53 | static struct acpi_driver acpi_fan_driver = { |
55 | .name = ACPI_FAN_DRIVER_NAME, | 54 | .name = "fan", |
56 | .class = ACPI_FAN_CLASS, | 55 | .class = ACPI_FAN_CLASS, |
57 | .ids = "PNP0C0B", | 56 | .ids = "PNP0C0B", |
58 | .ops = { | 57 | .ops = { |