aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/thinkpad_acpi.h
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-03-29 00:58:43 -0400
committerLen Brown <len.brown@intel.com>2007-03-30 15:35:42 -0400
commit643f12dbb660e139fbaea268f3e3ce4d7d594b8f (patch)
tree2adeddea6d1a1733da9ad39befc0ec40fdeee1e3 /drivers/misc/thinkpad_acpi.h
parentd903ac5455102b13d0e28d6a39f640175fb4cd4d (diff)
ACPI: thinkpad-acpi: cleanup after rename
Cleanup documentation, driver strings and other misc stuff, now that the driver is named "thinkpad-acpi". 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.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/drivers/misc/thinkpad_acpi.h b/drivers/misc/thinkpad_acpi.h
index ee1b93a2bbdd..015c02beb203 100644
--- a/drivers/misc/thinkpad_acpi.h
+++ b/drivers/misc/thinkpad_acpi.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * ibm_acpi.h - IBM ThinkPad ACPI Extras 2 * thinkpad_acpi.h - ThinkPad ACPI Extras
3 * 3 *
4 * 4 *
5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net> 5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net>
@@ -21,8 +21,8 @@
21 * 02110-1301, USA. 21 * 02110-1301, USA.
22 */ 22 */
23 23
24#ifndef __IBM_ACPI_H__ 24#ifndef __THINKPAD_ACPI_H__
25#define __IBM_ACPI_H__ 25#define __THINKPAD_ACPI_H__
26 26
27#include <linux/kernel.h> 27#include <linux/kernel.h>
28#include <linux/module.h> 28#include <linux/module.h>
@@ -47,12 +47,13 @@
47 * Main driver 47 * Main driver
48 */ 48 */
49 49
50#define IBM_NAME "ibm" 50#define IBM_NAME "thinkpad"
51#define IBM_DESC "IBM ThinkPad ACPI Extras" 51#define IBM_DESC "ThinkPad ACPI Extras"
52#define IBM_FILE "ibm_acpi" 52#define IBM_FILE "thinkpad_acpi"
53#define IBM_URL "http://ibm-acpi.sf.net/" 53#define IBM_URL "http://ibm-acpi.sf.net/"
54 54
55#define IBM_DIR IBM_NAME 55#define IBM_DIR "ibm"
56#define IBM_ACPI_EVENT_PREFIX "ibm"
56 57
57#define IBM_LOG IBM_FILE ": " 58#define IBM_LOG IBM_FILE ": "
58#define IBM_ERR KERN_ERR IBM_LOG 59#define IBM_ERR KERN_ERR IBM_LOG
@@ -99,8 +100,8 @@ static void ibm_handle_init(char *name,
99 100
100/* procfs support */ 101/* procfs support */
101static struct proc_dir_entry *proc_dir; 102static struct proc_dir_entry *proc_dir;
102static int ibm_acpi_driver_init(void); 103static int thinkpad_acpi_driver_init(void);
103static int ibm_acpi_driver_read(char *p); 104static int thinkpad_acpi_driver_read(char *p);
104 105
105/* procfs helpers */ 106/* procfs helpers */
106static int dispatch_read(char *page, char **start, off_t off, int count, 107static int dispatch_read(char *page, char **start, off_t off, int count,
@@ -434,4 +435,4 @@ static int wan_read(char *p);
434static int wan_write(char *buf); 435static int wan_write(char *buf);
435 436
436 437
437#endif /* __IBM_ACPI_H */ 438#endif /* __THINKPAD_ACPI_H */