mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
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:
parent
42334774a5
commit
bc88bae252
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user