diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2017-10-17 12:13:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-21 16:53:46 -0400 |
commit | 634086b464ac92d215aeaa3653759b0fbcde1a02 (patch) | |
tree | 936326ab276a054cbc325aebd50e2798872d7f31 | |
parent | 9a227d263d44572583be5dd9e9f215cceb4297a1 (diff) |
drm/amd/display: Fix brace style
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Acked-by: Andrey Grodzovsky <andey.grodzovsky@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c index b9e4d3831001..ca5d0d1581dc 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | |||
@@ -208,24 +208,21 @@ static void remove_timer_handler(struct amdgpu_device *adev, | |||
208 | DM_IRQ_TABLE_LOCK(adev, irq_table_flags); | 208 | DM_IRQ_TABLE_LOCK(adev, irq_table_flags); |
209 | } | 209 | } |
210 | 210 | ||
211 | if (handler_in == NULL) { | 211 | /* Remove ALL handlers. */ |
212 | /* Remove ALL handlers. */ | 212 | if (handler_in == NULL) |
213 | continue; | 213 | continue; |
214 | } | ||
215 | 214 | ||
216 | if (handler_in == handler_temp) { | 215 | /* Remove a SPECIFIC handler. |
217 | /* Remove a SPECIFIC handler. | 216 | * Found our handler - we can stop here. */ |
218 | * Found our handler - we can stop here. */ | 217 | if (handler_in == handler_temp) |
219 | break; | 218 | break; |
220 | } | ||
221 | } | 219 | } |
222 | 220 | ||
223 | DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags); | 221 | DM_IRQ_TABLE_UNLOCK(adev, irq_table_flags); |
224 | 222 | ||
225 | if (handler_in != NULL && handler_removed == false) { | 223 | if (handler_in != NULL && handler_removed == false) |
226 | DRM_ERROR("DM_IRQ: handler: %p is not in the list!\n", | 224 | DRM_ERROR("DM_IRQ: handler: %p is not in the list!\n", |
227 | handler_in); | 225 | handler_in); |
228 | } | ||
229 | } | 226 | } |
230 | 227 | ||
231 | static bool | 228 | static bool |