diff options
| author | Mario Limonciello <[email protected]> | 2023-10-06 13:50:26 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-13 11:01:30 -0400 |
| commit | 10406abe036b97a9c3549779a41c93ca488a0b7b (patch) | |
| tree | 73efa5108865b537e22fb6b839c15d50e4f6919e /drivers/gpu/drm/amd/display/dc/dc.h | |
| parent | 06ad7e16425619a4a77154c2e85bededb3e04a4f (diff) | |
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 <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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); |