clk: qcom: rpmh: use clk_determine_rate_noop()

Drop the driver-specific empty determine_rate() function and use the new
shared clk_determine_rate_noop() helper.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Brian Masney <bmasney@redhat.com>
This commit is contained in:
Brian Masney 2026-05-05 20:49:02 -04:00
parent 42334774a5
commit bc88bae252

View File

@ -319,12 +319,6 @@ static int clk_rpmh_bcm_set_rate(struct clk_hw *hw, unsigned long rate,
return 0;
}
static int clk_rpmh_determine_rate(struct clk_hw *hw,
struct clk_rate_request *req)
{
return 0;
}
static unsigned long clk_rpmh_bcm_recalc_rate(struct clk_hw *hw,
unsigned long prate)
{
@ -337,7 +331,7 @@ static const struct clk_ops clk_rpmh_bcm_ops = {
.prepare = clk_rpmh_bcm_prepare,
.unprepare = clk_rpmh_bcm_unprepare,
.set_rate = clk_rpmh_bcm_set_rate,
.determine_rate = clk_rpmh_determine_rate,
.determine_rate = clk_determine_rate_noop,
.recalc_rate = clk_rpmh_bcm_recalc_rate,
};