diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0141-drm-amdgpu-cgs-cleanup-some-indenting.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0141-drm-amdgpu-cgs-cleanup-some-indenting.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/common/recipes-kernel/linux/files/0141-drm-amdgpu-cgs-cleanup-some-indenting.patch b/common/recipes-kernel/linux/files/0141-drm-amdgpu-cgs-cleanup-some-indenting.patch deleted file mode 100644 index 00f8314c..00000000 --- a/common/recipes-kernel/linux/files/0141-drm-amdgpu-cgs-cleanup-some-indenting.patch +++ /dev/null @@ -1,46 +0,0 @@ -From c472d7ed03c510d5b7ae17a5f6abc54594215d51 Mon Sep 17 00:00:00 2001 -From: Dan Carpenter <dan.carpenter@oracle.com> -Date: Mon, 4 Jan 2016 23:43:47 +0300 -Subject: [PATCH 0141/1110] 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> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 18 +++++++++--------- - 1 file changed, 9 insertions(+), 9 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c -index 6fa0fea..59485d0 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c -+++ b/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->pinput_argument == NULL) - 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) { --- -2.7.4 - |