diff options
author | Dave Airlie <airlied@redhat.com> | 2017-09-29 14:34:35 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-29 13:02:08 -0400 |
commit | 4dec2aa9eb1386e592d76f380360360178c4af02 (patch) | |
tree | 4f5ae96674be355b3a48bcf884f140e5a6a46e7f /drivers/gpu/drm/amd/display/dc/dce110 | |
parent | 2c9a7908b44eca05d1d08270a9f982b96ee30bda (diff) | |
download | linux-4dec2aa9eb1386e592d76f380360360178c4af02.tar.bz2 |
amdgpu/dc: make program_regamma_pwl return void
The return value was unused.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce110')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c | 4 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c index c86105b8cfaf..e98ed3058ea2 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_opp_regamma_v.c @@ -490,7 +490,7 @@ static void program_pwl(struct dce_transform *xfm_dce, } } -bool dce110_opp_program_regamma_pwl_v( +void dce110_opp_program_regamma_pwl_v( struct transform *xfm, const struct pwl_params *params) { @@ -512,8 +512,6 @@ bool dce110_opp_program_regamma_pwl_v( /* Power return to auto back */ power_on_lut(xfm, false, false, true); - - return true; } void dce110_opp_power_on_regamma_lut_v( diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.h b/drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.h index eeed3b9f90f7..b70780210aad 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.h +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_transform_v.h @@ -43,7 +43,7 @@ void dce110_opp_v_set_csc_adjustment( const struct out_csc_color_matrix *tbl_entry); -bool dce110_opp_program_regamma_pwl_v( +void dce110_opp_program_regamma_pwl_v( struct transform *xfm, const struct pwl_params *params); |