aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cm_sbs.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2006-07-01 16:48:23 -0400
committerLen Brown <len.brown@intel.com>2006-07-01 16:48:23 -0400
commit635227ee89929a6e2920fc8aa1cd48f7225d3d93 (patch)
treeb40e81898310a364ca7be378f42212e06dd71238 /drivers/acpi/cm_sbs.c
parent3f86b83243d59bb50caf5938d284d22e10d082a4 (diff)
ACPI: remove function tracing macros from drivers/acpi/*.c
a few invocations appeared due to the SBS and other patches. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/cm_sbs.c')
-rw-r--r--drivers/acpi/cm_sbs.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/acpi/cm_sbs.c b/drivers/acpi/cm_sbs.c
index d11507c7b8a4..574a75a166c5 100644
--- a/drivers/acpi/cm_sbs.c
+++ b/drivers/acpi/cm_sbs.c
@@ -46,7 +46,6 @@ static int lock_battery_dir_cnt = 0;
46 46
47struct proc_dir_entry *acpi_lock_ac_dir(void) 47struct proc_dir_entry *acpi_lock_ac_dir(void)
48{ 48{
49 ACPI_FUNCTION_TRACE("acpi_lock_ac_dir");
50 49
51 down(&cm_sbs_sem); 50 down(&cm_sbs_sem);
52 if (!acpi_ac_dir) { 51 if (!acpi_ac_dir) {
@@ -59,14 +58,13 @@ struct proc_dir_entry *acpi_lock_ac_dir(void)
59 "Cannot create %s\n", ACPI_AC_CLASS)); 58 "Cannot create %s\n", ACPI_AC_CLASS));
60 } 59 }
61 up(&cm_sbs_sem); 60 up(&cm_sbs_sem);
62 return (acpi_ac_dir); 61 return acpi_ac_dir;
63} 62}
64 63
65EXPORT_SYMBOL(acpi_lock_ac_dir); 64EXPORT_SYMBOL(acpi_lock_ac_dir);
66 65
67void acpi_unlock_ac_dir(struct proc_dir_entry *acpi_ac_dir_param) 66void acpi_unlock_ac_dir(struct proc_dir_entry *acpi_ac_dir_param)
68{ 67{
69 ACPI_FUNCTION_TRACE("acpi_unlock_ac_dir");
70 68
71 down(&cm_sbs_sem); 69 down(&cm_sbs_sem);
72 if (acpi_ac_dir_param) { 70 if (acpi_ac_dir_param) {
@@ -83,7 +81,6 @@ EXPORT_SYMBOL(acpi_unlock_ac_dir);
83 81
84struct proc_dir_entry *acpi_lock_battery_dir(void) 82struct proc_dir_entry *acpi_lock_battery_dir(void)
85{ 83{
86 ACPI_FUNCTION_TRACE("acpi_lock_battery_dir");
87 84
88 down(&cm_sbs_sem); 85 down(&cm_sbs_sem);
89 if (!acpi_battery_dir) { 86 if (!acpi_battery_dir) {
@@ -97,14 +94,13 @@ struct proc_dir_entry *acpi_lock_battery_dir(void)
97 "Cannot create %s\n", ACPI_BATTERY_CLASS)); 94 "Cannot create %s\n", ACPI_BATTERY_CLASS));
98 } 95 }
99 up(&cm_sbs_sem); 96 up(&cm_sbs_sem);
100 return (acpi_battery_dir); 97 return acpi_battery_dir;
101} 98}
102 99
103EXPORT_SYMBOL(acpi_lock_battery_dir); 100EXPORT_SYMBOL(acpi_lock_battery_dir);
104 101
105void acpi_unlock_battery_dir(struct proc_dir_entry *acpi_battery_dir_param) 102void acpi_unlock_battery_dir(struct proc_dir_entry *acpi_battery_dir_param)
106{ 103{
107 ACPI_FUNCTION_TRACE("acpi_unlock_battery_dir");
108 104
109 down(&cm_sbs_sem); 105 down(&cm_sbs_sem);
110 if (acpi_battery_dir_param) { 106 if (acpi_battery_dir_param) {
@@ -116,20 +112,20 @@ void acpi_unlock_battery_dir(struct proc_dir_entry *acpi_battery_dir_param)
116 acpi_battery_dir = 0; 112 acpi_battery_dir = 0;
117 } 113 }
118 up(&cm_sbs_sem); 114 up(&cm_sbs_sem);
115 return;
119} 116}
120 117
121EXPORT_SYMBOL(acpi_unlock_battery_dir); 118EXPORT_SYMBOL(acpi_unlock_battery_dir);
122 119
123static int __init acpi_cm_sbs_init(void) 120static int __init acpi_cm_sbs_init(void)
124{ 121{
125 ACPI_FUNCTION_TRACE("acpi_cm_sbs_init");
126 122
127 if (acpi_disabled) 123 if (acpi_disabled)
128 return_VALUE(0); 124 return 0;
129 125
130 init_MUTEX(&cm_sbs_sem); 126 init_MUTEX(&cm_sbs_sem);
131 127
132 return_VALUE(0); 128 return 0;
133} 129}
134 130
135subsys_initcall(acpi_cm_sbs_init); 131subsys_initcall(acpi_cm_sbs_init);