eeepc-laptop: whitespace for checkpatch.pl
authorLen Brown <len.brown@intel.com>
Fri, 28 Aug 2009 23:03:11 +0000 (19:03 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 28 Aug 2009 23:03:11 +0000 (19:03 -0400)
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>
drivers/platform/x86/eeepc-laptop.c

index c9febf4..819c685 100644 (file)
@@ -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();