diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2025-11-13 17:33:47 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-11-18 10:53:16 -0500 |
| commit | dc82e1bb489d6c4a5bbe9dcc8b6390955b8849cd (patch) | |
| tree | 996b267a035653f5080eaefb3a98e06af084156a /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | d46e422f65aefcd027cd22e1c020a288fe99a600 (diff) | |
drm/amd/display: Cleanup early return in construct_phy
Match pre-existing patterns in the DC code base.
Instead of returning early from the construct_phy() function,
add a label at the end and use goto to jump there.
Additionally, respect the DC logger and let it log the function
even when it returns early.
Suggested-by: Ray Wu <Ray.Wu@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Link: https://lore.kernel.org/r/20251113163348.137315-4-timur.kristof@gmail.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
