aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom St Denis <[email protected]>2017-10-17 08:59:18 -0400
committerAlex Deucher <[email protected]>2017-10-21 16:53:16 -0400
commit900b3cb1833883de9be62e48ff748663c7b6ef96 (patch)
tree7fd709f797a888f941af4d792c7c405cfcb1113d
parent1fb0c9ccb311cdf16f6ec617fb30c249888c5f97 (diff)
drm/amd/display: Fix brace style in amdgpu_dm_update_connector_after_detect()
Signed-off-by: Tom St Denis <[email protected]> Acked-by: Andrey Grodzovsky <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index a7bbd22e8f12..7999eadddd75 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -890,9 +890,9 @@ amdgpu_dm_update_connector_after_detect(struct amdgpu_dm_connector *aconnector)
connector);
aconnector->dc_sink = sink;
- if (sink->dc_edid.length == 0)
+ if (sink->dc_edid.length == 0) {
aconnector->edid = NULL;
- else {
+ } else {
aconnector->edid =
(struct edid *) sink->dc_edid.raw_edid;