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>
-bool dce110_opp_program_regamma_pwl(
+void dce110_opp_program_regamma_pwl(
struct transform *xfm,
const struct pwl_params *params)
{
/* Program PWL */
program_pwl(xfm_dce, params);
-
- return true;
}
void dce110_opp_power_on_regamma_lut(
struct transform *xfm,
bool power_on);
-bool dce110_opp_program_regamma_pwl(
+void dce110_opp_program_regamma_pwl(
struct transform *xfm,
const struct pwl_params *params);
}
}
-bool dce110_opp_program_regamma_pwl_v(
+void dce110_opp_program_regamma_pwl_v(
struct transform *xfm,
const struct pwl_params *params)
{
/* Power return to auto back */
power_on_lut(xfm, false, false, true);
-
- return true;
}
void dce110_opp_power_on_regamma_lut_v(
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);
-static bool dcn10_dpp_cm_set_regamma_pwl(
+static void dcn10_dpp_cm_set_regamma_pwl(
struct transform *xfm_base, const struct pwl_params *params)
{
struct dcn10_dpp *xfm = TO_DCN10_DPP(xfm_base);
dcn10_dpp_cm_program_regamma_lut(
xfm_base, params->rgb_resulted, params->hw_points_num);
-
- return true;
}
static void dcn10_dpp_cm_set_regamma_mode(
struct transform *xfm,
const struct pwl_params *params);
- bool (*opp_program_regamma_pwl)(
+ void (*opp_program_regamma_pwl)(
struct transform *xfm, const struct pwl_params *params);
void (*opp_set_regamma_mode)(