提交 b92c26d1 编写于 作者: D Dan Carpenter 提交者: Alex Deucher

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: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 2500a3c9
...@@ -847,8 +847,8 @@ static int amdgpu_cgs_acpi_eval_object(void *cgs_device, ...@@ -847,8 +847,8 @@ static int amdgpu_cgs_acpi_eval_object(void *cgs_device,
func_no = argument->value; func_no = argument->value;
for (i = 0; i < info->input_count; i++) { for (i = 0; i < info->input_count; i++) {
if (((argument->type == ACPI_TYPE_STRING) || if (((argument->type == ACPI_TYPE_STRING) ||
(argument->type == ACPI_TYPE_BUFFER)) (argument->type == ACPI_TYPE_BUFFER)) &&
&& (argument->pointer == NULL)) (argument->pointer == NULL))
return -EINVAL; return -EINVAL;
argument++; argument++;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册