summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-08-29 01:03:11 +0200
committerLen Brown <len.brown@intel.com>2009-08-29 01:03:11 +0200
commitaeb41b852fe90764b75ef7a9f185ca94696af6ff (patch)
tree364dc4b85ffd4e23cee6f4846aecab783ce06fd2 /drivers/platform/x86
parentasus-laptop: document sysfs interface (diff)
downloadlinux-aeb41b852fe90764b75ef7a9f185ca94696af6ff.tar.xz
linux-aeb41b852fe90764b75ef7a9f185ca94696af6ff.zip
eeepc-laptop: whitespace for checkpatch.pl
checkpatch doesn't like tab+space for a return statement. WARNING: suspect code indent for conditional statements (8, 17) + if (!device) + return -EINVAL; Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r--drivers/platform/x86/eeepc-laptop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index c9febf4b1faa..819c685fe9cf 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -1183,7 +1183,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
int result;
if (!device)
- return -EINVAL;
+ return -EINVAL;
pr_notice(EEEPC_HOTK_NAME "\n");
ehotk = kzalloc(sizeof(struct eeepc_hotk), GFP_KERNEL);
if (!ehotk)
@@ -1265,7 +1265,7 @@ fail_platform_driver:
static int eeepc_hotk_remove(struct acpi_device *device, int type)
{
if (!device || !acpi_driver_data(device))
- return -EINVAL;
+ return -EINVAL;
eeepc_backlight_exit();
eeepc_rfkill_exit();