Browse Source

drm/amdgpu/cgs: cleanup some indenting

This code is indented too far.  Also we normally use spaces to align if
statement conditions.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Dan Carpenter 9 years ago
parent
commit
b92c26d180
1 changed files with 9 additions and 9 deletions
  1. 9 9
      drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c

+ 9 - 9
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c

@@ -843,15 +843,15 @@ static int amdgpu_cgs_acpi_eval_object(void *cgs_device,
 	if (info->input_count > 0) {
 	if (info->input_count > 0) {
 		if (info->pinput_argument == NULL)
 		if (info->pinput_argument == NULL)
 			return -EINVAL;
 			return -EINVAL;
-			argument = info->pinput_argument;
-			func_no = argument->value;
-			for (i = 0; i < info->input_count; i++) {
-				if (((argument->type == ACPI_TYPE_STRING) ||
-					(argument->type == ACPI_TYPE_BUFFER))
-					&& (argument->pointer == NULL))
-					return -EINVAL;
-				argument++;
-			}
+		argument = info->pinput_argument;
+		func_no = argument->value;
+		for (i = 0; i < info->input_count; i++) {
+			if (((argument->type == ACPI_TYPE_STRING) ||
+			     (argument->type == ACPI_TYPE_BUFFER)) &&
+			    (argument->pointer == NULL))
+				return -EINVAL;
+			argument++;
+		}
 	}
 	}
 
 
 	if (info->output_count > 0) {
 	if (info->output_count > 0) {