linux/drivers/gpu/drm/amd/display
Srinivasan Shanmugam 0c2d77beed drm/amd/display: Remove else after return in 'dm_crtc_get_scanoutpos()'
Conform to Linux kernel coding style.

Reported by checkpatch:

WARNING: else is not generally useful after a break or return

Expressions under 'else' branch in function 'dm_crtc_get_scanoutpos' are
executed whenever the expression in 'if' is False. Otherwise, return
from function occurs. Therefore, there is no need in 'else', and it has
been removed.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-07-07 13:38:48 -04:00
..
amdgpu_dm drm/amd/display: Remove else after return in 'dm_crtc_get_scanoutpos()' 2023-07-07 13:38:48 -04:00
dc drm/amd/display: 3.2.241 2023-06-30 13:12:16 -04:00
dmub drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix 2023-06-30 13:11:36 -04:00
include drm/amd/display: fix compilation error due to shifting negative value 2023-06-09 12:38:19 -04:00
modules Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON" 2023-06-30 13:11:36 -04:00
Kconfig Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2023-06-15 14:11:22 +10:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO