Skip to content

Commit

Permalink
eeepc-laptop: whitespace for checkpatch.pl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Len Brown committed Aug 28, 2009
1 parent b09f5fe commit aeb41b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/platform/x86/eeepc-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -1265,7 +1265,7 @@ static int eeepc_hotk_add(struct acpi_device *device)
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();
Expand Down

0 comments on commit aeb41b8

Please sign in to comment.