drm/amd/display: Clean up errors in dc_stream.c
authorRan Sun <sunran001@208suo.com>
Wed, 2 Aug 2023 06:14:23 +0000 (06:14 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 13:43:06 +0000 (09:43 -0400)
Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line

Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c

index ea3d4b3..05bb23b 100644 (file)
@@ -71,8 +71,7 @@ static bool dc_stream_construct(struct dc_stream_state *stream,
 
        /* Copy audio modes */
        /* TODO - Remove this translation */
-       for (i = 0; i < (dc_sink_data->edid_caps.audio_mode_count); i++)
-       {
+       for (i = 0; i < (dc_sink_data->edid_caps.audio_mode_count); i++) {
                stream->audio_info.modes[i].channel_count = dc_sink_data->edid_caps.audio_modes[i].channel_count;
                stream->audio_info.modes[i].format_code = dc_sink_data->edid_caps.audio_modes[i].format_code;
                stream->audio_info.modes[i].sample_rates.all = dc_sink_data->edid_caps.audio_modes[i].sample_rate;