drm/amd/display: make dc_set_power_state() return type `void` again
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 6 Oct 2023 18:50:26 +0000 (13:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 15:01:30 +0000 (11:01 -0400)
commit10406abe036b97a9c3549779a41c93ca488a0b7b
tree73efa5108865b537e22fb6b839c15d50e4f6919e
parent06ad7e16425619a4a77154c2e85bededb3e04a4f
drm/amd/display: make dc_set_power_state() return type `void` again

As dc_set_power_state() no longer allocates memory, it's not necessary
to have return types and check return code as it can't fail anymore.

Change it back to `void`.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h