diff options
author | Corentin Chary <corentincj@iksaif.net> | 2009-12-03 02:45:14 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-09 15:54:33 -0500 |
commit | f90be874303eddc53c199083a37bc44d65ab8351 (patch) | |
tree | ffc1091565726671affd02e3a715564488af8171 /drivers/platform/x86/eeepc-laptop.c | |
parent | b39b85e74acfd62a22afc33a88a7bda36beb3367 (diff) |
eeepc-laptop: fix coding style
fix styles problems introduced by commit
e86bda235a08b6a8e64c1e8bb9d175f6961554e3
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform/x86/eeepc-laptop.c')
-rw-r--r-- | drivers/platform/x86/eeepc-laptop.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 920d9d9f1f9c..5f0eb767e8a6 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c | |||
@@ -244,7 +244,8 @@ static int get_acpi(struct eeepc_laptop *eeepc, int cm) | |||
244 | return value; | 244 | return value; |
245 | } | 245 | } |
246 | 246 | ||
247 | static int acpi_setter_handle(struct eeepc_laptop *eeepc, int cm, acpi_handle *handle) | 247 | static int acpi_setter_handle(struct eeepc_laptop *eeepc, int cm, |
248 | acpi_handle *handle) | ||
248 | { | 249 | { |
249 | const char *method = cm_setv[cm]; | 250 | const char *method = cm_setv[cm]; |
250 | acpi_status status; | 251 | acpi_status status; |
@@ -255,7 +256,7 @@ static int acpi_setter_handle(struct eeepc_laptop *eeepc, int cm, acpi_handle *h | |||
255 | return -ENODEV; | 256 | return -ENODEV; |
256 | 257 | ||
257 | status = acpi_get_handle(eeepc->handle, (char *)method, | 258 | status = acpi_get_handle(eeepc->handle, (char *)method, |
258 | handle); | 259 | handle); |
259 | if (status != AE_OK) { | 260 | if (status != AE_OK) { |
260 | pr_warning("Error finding %s\n", method); | 261 | pr_warning("Error finding %s\n", method); |
261 | return -ENODEV; | 262 | return -ENODEV; |
@@ -1274,7 +1275,8 @@ static void cmsg_quirks(struct eeepc_laptop *eeepc) | |||
1274 | cmsg_quirk(eeepc, CM_ASL_TPD, "TPD"); | 1275 | cmsg_quirk(eeepc, CM_ASL_TPD, "TPD"); |
1275 | } | 1276 | } |
1276 | 1277 | ||
1277 | static int eeepc_acpi_init(struct eeepc_laptop *eeepc, struct acpi_device *device) | 1278 | static int eeepc_acpi_init(struct eeepc_laptop *eeepc, |
1279 | struct acpi_device *device) | ||
1278 | { | 1280 | { |
1279 | unsigned int init_flags; | 1281 | unsigned int init_flags; |
1280 | int result; | 1282 | int result; |