Commit 46422814 authored by Lin Ming's avatar Lin Ming Committed by Len Brown

ACPI: panasonic-laptop.c: remove ACPI_FUNCTION_TRACE

ACPI_FUNCTION_TRACE is an internal acpica function.
remove ACPI_FUNCTION_TRACE from driver file
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 60a4ce7f
...@@ -241,8 +241,6 @@ static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val) ...@@ -241,8 +241,6 @@ static int acpi_pcc_write_sset(struct pcc_acpi *pcc, int func, int val)
}; };
acpi_status status = AE_OK; acpi_status status = AE_OK;
ACPI_FUNCTION_TRACE("acpi_pcc_write_sset");
status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SSET, status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SSET,
&params, NULL); &params, NULL);
...@@ -254,8 +252,6 @@ static inline int acpi_pcc_get_sqty(struct acpi_device *device) ...@@ -254,8 +252,6 @@ static inline int acpi_pcc_get_sqty(struct acpi_device *device)
unsigned long long s; unsigned long long s;
acpi_status status; acpi_status status;
ACPI_FUNCTION_TRACE("acpi_pcc_get_sqty");
status = acpi_evaluate_integer(device->handle, METHOD_HKEY_SQTY, status = acpi_evaluate_integer(device->handle, METHOD_HKEY_SQTY,
NULL, &s); NULL, &s);
if (ACPI_SUCCESS(status)) if (ACPI_SUCCESS(status))
...@@ -274,8 +270,6 @@ static int acpi_pcc_retrieve_biosdata(struct pcc_acpi *pcc, u32 *sinf) ...@@ -274,8 +270,6 @@ static int acpi_pcc_retrieve_biosdata(struct pcc_acpi *pcc, u32 *sinf)
union acpi_object *hkey = NULL; union acpi_object *hkey = NULL;
int i; int i;
ACPI_FUNCTION_TRACE("acpi_pcc_retrieve_biosdata");
status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF, 0, status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF, 0,
&buffer); &buffer);
if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) {
...@@ -501,8 +495,6 @@ static void acpi_pcc_generate_keyinput(struct pcc_acpi *pcc) ...@@ -501,8 +495,6 @@ static void acpi_pcc_generate_keyinput(struct pcc_acpi *pcc)
int key_code, hkey_num; int key_code, hkey_num;
unsigned long long result; unsigned long long result;
ACPI_FUNCTION_TRACE("acpi_pcc_generate_keyinput");
rc = acpi_evaluate_integer(pcc->handle, METHOD_HKEY_QUERY, rc = acpi_evaluate_integer(pcc->handle, METHOD_HKEY_QUERY,
NULL, &result); NULL, &result);
if (!ACPI_SUCCESS(rc)) { if (!ACPI_SUCCESS(rc)) {
...@@ -538,8 +530,6 @@ static void acpi_pcc_hotkey_notify(acpi_handle handle, u32 event, void *data) ...@@ -538,8 +530,6 @@ static void acpi_pcc_hotkey_notify(acpi_handle handle, u32 event, void *data)
{ {
struct pcc_acpi *pcc = (struct pcc_acpi *) data; struct pcc_acpi *pcc = (struct pcc_acpi *) data;
ACPI_FUNCTION_TRACE("acpi_pcc_hotkey_notify");
switch (event) { switch (event) {
case HKEY_NOTIFY: case HKEY_NOTIFY:
acpi_pcc_generate_keyinput(pcc); acpi_pcc_generate_keyinput(pcc);
...@@ -554,8 +544,6 @@ static int acpi_pcc_init_input(struct pcc_acpi *pcc) ...@@ -554,8 +544,6 @@ static int acpi_pcc_init_input(struct pcc_acpi *pcc)
{ {
int i, rc; int i, rc;
ACPI_FUNCTION_TRACE("acpi_pcc_init_input");
pcc->input_dev = input_allocate_device(); pcc->input_dev = input_allocate_device();
if (!pcc->input_dev) { if (!pcc->input_dev) {
ACPI_DEBUG_PRINT((ACPI_DB_ERROR, ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
...@@ -597,8 +585,6 @@ static int acpi_pcc_hotkey_resume(struct acpi_device *device) ...@@ -597,8 +585,6 @@ static int acpi_pcc_hotkey_resume(struct acpi_device *device)
struct pcc_acpi *pcc = acpi_driver_data(device); struct pcc_acpi *pcc = acpi_driver_data(device);
acpi_status status = AE_OK; acpi_status status = AE_OK;
ACPI_FUNCTION_TRACE("acpi_pcc_hotkey_resume");
if (device == NULL || pcc == NULL) if (device == NULL || pcc == NULL)
return -EINVAL; return -EINVAL;
...@@ -616,8 +602,6 @@ static int acpi_pcc_hotkey_add(struct acpi_device *device) ...@@ -616,8 +602,6 @@ static int acpi_pcc_hotkey_add(struct acpi_device *device)
struct pcc_acpi *pcc; struct pcc_acpi *pcc;
int num_sifr, result; int num_sifr, result;
ACPI_FUNCTION_TRACE("acpi_pcc_hotkey_add");
if (!device) if (!device)
return -EINVAL; return -EINVAL;
...@@ -714,8 +698,6 @@ static int __init acpi_pcc_init(void) ...@@ -714,8 +698,6 @@ static int __init acpi_pcc_init(void)
{ {
int result = 0; int result = 0;
ACPI_FUNCTION_TRACE("acpi_pcc_init");
if (acpi_disabled) if (acpi_disabled)
return -ENODEV; return -ENODEV;
...@@ -733,8 +715,6 @@ static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type) ...@@ -733,8 +715,6 @@ static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type)
{ {
struct pcc_acpi *pcc = acpi_driver_data(device); struct pcc_acpi *pcc = acpi_driver_data(device);
ACPI_FUNCTION_TRACE("acpi_pcc_hotkey_remove");
if (!device || !pcc) if (!device || !pcc)
return -EINVAL; return -EINVAL;
...@@ -757,8 +737,6 @@ static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type) ...@@ -757,8 +737,6 @@ static int acpi_pcc_hotkey_remove(struct acpi_device *device, int type)
static void __exit acpi_pcc_exit(void) static void __exit acpi_pcc_exit(void)
{ {
ACPI_FUNCTION_TRACE("acpi_pcc_exit");
acpi_bus_unregister_driver(&acpi_pcc_driver); acpi_bus_unregister_driver(&acpi_pcc_driver);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment