drm/amd/display: Indent an if statement
PATCH 1/1 drm/amd/display: Indent an if statement
The if statement wasn't indented so it's confusing.
Signed-off-by Dan Carpenter <[email protected]>
--- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +1 -1
@@ -71,7 +71,7 @@ enum dce_version resource_parse_asic_id(struct hw_asic_id asic_id)if (ASIC_REV_IS_TAHITI_P (asic_id.hw_internal_rev) ||ASIC_REV_IS_PITCAIRN_PM (asic_id.hw_internal_rev) ||ASIC_REV_IS_CAPEVERDE_M (asic_id.hw_internal_rev)) - dc_version =DCE_VERSION_6_0 ; + dc_version =DCE_VERSION_6_0 ;else if (ASIC_REV_IS_OLAND_M (asic_id.hw_internal_rev)) dc_version =DCE_VERSION_6_4 ;else
Signature · 1 line
2.27.0
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 28 lines · Dan Carpenter
The if statement wasn't indented so it's confusing.
Signed-off-by Dan Carpenter <[email protected]>--- drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/core/dc_resource.c +1
-2@@ -71,7 +71,7 @@ enum dce_version resource_parse_asic_id(struct hw_asic_id asic_id)if (ASIC_REV_IS_TAHITI_P (asic_id.hw_internal_rev) ||ASIC_REV_IS_PITCAIRN_PM (asic_id.hw_internal_rev) ||ASIC_REV_IS_CAPEVERDE_M (asic_id.hw_internal_rev)) - dc_version =DCE_VERSION_6_0 ; + dc_version =DCE_VERSION_6_0 ;else if (ASIC_REV_IS_OLAND_M (asic_id.hw_internal_rev)) dc_version =DCE_VERSION_6_4 ;else --2.27.0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx