Skip to content

Commit

Permalink
eeepc-laptop: fix coding style
Browse files Browse the repository at this point in the history
fix styles problems introduced by commit
e86bda235a08b6a8e64c1e8bb9d175f6961554e3

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Corentin Chary authored and Len Brown committed Dec 9, 2009
1 parent b39b85e commit f90be87
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/platform/x86/eeepc-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit f90be87

Please sign in to comment.