Commit 8c96e566 authored by Yang Li's avatar Yang Li Committed by Alex Deucher

drm/amd/display: clean up some inconsistent indenting

Eliminate the follow smatch warnings:
drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:405 get_bios_object_from_path_v3() warn: inconsistent indenting
drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:611 bios_parser_get_hpd_info() warn: inconsistent indenting
drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:818 bios_parser_get_device_tag() warn: inconsistent indenting
drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:1599 bios_parser_is_device_id_supported() warn: inconsistent indenting
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bdd0d7e2
...@@ -402,7 +402,7 @@ static struct atom_display_object_path_v3 *get_bios_object_from_path_v3( ...@@ -402,7 +402,7 @@ static struct atom_display_object_path_v3 *get_bios_object_from_path_v3(
return NULL; return NULL;
} }
return NULL; return NULL;
} }
static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb, static enum bp_result bios_parser_get_i2c_info(struct dc_bios *dcb,
...@@ -605,8 +605,8 @@ static enum bp_result bios_parser_get_hpd_info( ...@@ -605,8 +605,8 @@ static enum bp_result bios_parser_get_hpd_info(
default: default:
object = get_bios_object(bp, id); object = get_bios_object(bp, id);
if (!object) if (!object)
return BP_RESULT_BADINPUT; return BP_RESULT_BADINPUT;
record = get_hpd_record(bp, object); record = get_hpd_record(bp, object);
...@@ -810,10 +810,10 @@ static enum bp_result bios_parser_get_device_tag( ...@@ -810,10 +810,10 @@ static enum bp_result bios_parser_get_device_tag(
/* getBiosObject will return MXM object */ /* getBiosObject will return MXM object */
object = get_bios_object(bp, connector_object_id); object = get_bios_object(bp, connector_object_id);
if (!object) { if (!object) {
BREAK_TO_DEBUGGER(); /* Invalid object id */ BREAK_TO_DEBUGGER(); /* Invalid object id */
return BP_RESULT_BADINPUT; return BP_RESULT_BADINPUT;
} }
info->acpi_device = 0; /* BIOS no longer provides this */ info->acpi_device = 0; /* BIOS no longer provides this */
info->dev_id = device_type_from_device_id(object->device_tag); info->dev_id = device_type_from_device_id(object->device_tag);
...@@ -1596,7 +1596,7 @@ static bool bios_parser_is_device_id_supported( ...@@ -1596,7 +1596,7 @@ static bool bios_parser_is_device_id_supported(
break; break;
} }
return false; return false;
} }
static uint32_t bios_parser_get_ss_entry_number( static uint32_t bios_parser_get_ss_entry_number(
......
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