diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-10-06 21:50:26 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-13 18:01:30 +0300 |
commit | 10406abe036b97a9c3549779a41c93ca488a0b7b (patch) | |
tree | 73efa5108865b537e22fb6b839c15d50e4f6919e /drivers/gpu/drm/amd/display/dc/dc.h | |
parent | 06ad7e16425619a4a77154c2e85bededb3e04a4f (diff) | |
download | linux-10406abe036b97a9c3549779a41c93ca488a0b7b.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 97a070309f9a..582d94c759f6 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -2294,7 +2294,7 @@ void dc_notify_vsync_int_state(struct dc *dc, struct dc_stream_state *stream, bo /* Power Interfaces */ -bool dc_set_power_state( +void dc_set_power_state( struct dc *dc, enum dc_acpi_cm_power_state power_state); void dc_resume(struct dc *dc); |