diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-04-21 10:08:42 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-04-21 23:30:34 -0400 |
commit | c9bea99c1a712548db3437cbca52b0da8f30069c (patch) | |
tree | 8d88d7787dc93e569e1c098c9c269955953e1fbf /drivers/misc/thinkpad_acpi.h | |
parent | 83f34724643a3b0ec9322490b9ad9f1b60170a6c (diff) |
ACPI: thinkpad-acpi: clean up CMOS commands subdriver
Some ThinkPad CMOS commands subdriver cleanups, and also rename/promote
cmos_eval to a ACPI helper function, as it is used by many other
subdrivers.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.h')
-rw-r--r-- | drivers/misc/thinkpad_acpi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h index 3a8718a08116..fb0abb02a016 100644 --- a/drivers/misc/thinkpad_acpi.h +++ b/drivers/misc/thinkpad_acpi.h | |||
@@ -116,6 +116,9 @@ static void drv_acpi_handle_init(char *name, | |||
116 | drv_acpi_handle_init(#object, &object##_handle, *object##_parent, \ | 116 | drv_acpi_handle_init(#object, &object##_handle, *object##_parent, \ |
117 | object##_paths, ARRAY_SIZE(object##_paths), &object##_path) | 117 | object##_paths, ARRAY_SIZE(object##_paths), &object##_path) |
118 | 118 | ||
119 | /* ThinkPad ACPI helpers */ | ||
120 | static int issue_thinkpad_cmos_command(int cmos_cmd); | ||
121 | |||
119 | /* procfs support */ | 122 | /* procfs support */ |
120 | static struct proc_dir_entry *proc_dir; | 123 | static struct proc_dir_entry *proc_dir; |
121 | 124 | ||
@@ -275,7 +278,6 @@ static int brightness_write(char *buf); | |||
275 | * CMOS subdriver | 278 | * CMOS subdriver |
276 | */ | 279 | */ |
277 | 280 | ||
278 | static int cmos_eval(int cmos_cmd); | ||
279 | static int cmos_read(char *p); | 281 | static int cmos_read(char *p); |
280 | static int cmos_write(char *buf); | 282 | static int cmos_write(char *buf); |
281 | 283 | ||