From 6f6a4a7e1560db9338c353f0295461df2f415a98 Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Thu, 3 Dec 2009 07:45:14 +0000 Subject: [PATCH] --- yaml --- r: 177519 b: refs/heads/master c: f90be874303eddc53c199083a37bc44d65ab8351 h: refs/heads/master i: 177517: d0a55b357809e1639ff1944dae264a06901152f0 177515: 697dcdcbd63ef41db2304f58f626336bf177805b 177511: e5a5d766794e3b1e14aa289d5826edbba9b9e5da 177503: 9c6f71cc466f51b3787e0bc58290475386eca4bf v: v3 --- [refs] | 2 +- trunk/drivers/platform/x86/eeepc-laptop.c | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 949fbedc4211..8e9fbad3da84 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b39b85e74acfd62a22afc33a88a7bda36beb3367 +refs/heads/master: f90be874303eddc53c199083a37bc44d65ab8351 diff --git a/trunk/drivers/platform/x86/eeepc-laptop.c b/trunk/drivers/platform/x86/eeepc-laptop.c index 920d9d9f1f9c..5f0eb767e8a6 100644 --- a/trunk/drivers/platform/x86/eeepc-laptop.c +++ b/trunk/drivers/platform/x86/eeepc-laptop.c @@ -244,7 +244,8 @@ static int get_acpi(struct eeepc_laptop *eeepc, int cm) return value; } -static int acpi_setter_handle(struct eeepc_laptop *eeepc, int cm, acpi_handle *handle) +static int acpi_setter_handle(struct eeepc_laptop *eeepc, int cm, + acpi_handle *handle) { const char *method = cm_setv[cm]; acpi_status status; @@ -255,7 +256,7 @@ static int acpi_setter_handle(struct eeepc_laptop *eeepc, int cm, acpi_handle *h return -ENODEV; status = acpi_get_handle(eeepc->handle, (char *)method, - handle); + handle); if (status != AE_OK) { pr_warning("Error finding %s\n", method); return -ENODEV; @@ -1274,7 +1275,8 @@ static void cmsg_quirks(struct eeepc_laptop *eeepc) cmsg_quirk(eeepc, CM_ASL_TPD, "TPD"); } -static int eeepc_acpi_init(struct eeepc_laptop *eeepc, struct acpi_device *device) +static int eeepc_acpi_init(struct eeepc_laptop *eeepc, + struct acpi_device *device) { unsigned int init_flags; int result;