Commit aeb41b85 authored by Len Brown's avatar Len Brown

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: default avatarLen Brown <len.brown@intel.com>
parent b09f5fec
...@@ -1183,7 +1183,7 @@ static int eeepc_hotk_add(struct acpi_device *device) ...@@ -1183,7 +1183,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
int result; int result;
if (!device) if (!device)
return -EINVAL; return -EINVAL;
pr_notice(EEEPC_HOTK_NAME "\n"); pr_notice(EEEPC_HOTK_NAME "\n");
ehotk = kzalloc(sizeof(struct eeepc_hotk), GFP_KERNEL); ehotk = kzalloc(sizeof(struct eeepc_hotk), GFP_KERNEL);
if (!ehotk) if (!ehotk)
...@@ -1265,7 +1265,7 @@ fail_platform_driver: ...@@ -1265,7 +1265,7 @@ fail_platform_driver:
static int eeepc_hotk_remove(struct acpi_device *device, int type) static int eeepc_hotk_remove(struct acpi_device *device, int type)
{ {
if (!device || !acpi_driver_data(device)) if (!device || !acpi_driver_data(device))
return -EINVAL; return -EINVAL;
eeepc_backlight_exit(); eeepc_backlight_exit();
eeepc_rfkill_exit(); eeepc_rfkill_exit();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment