mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
clk: imx: composite-93: remove round_rate() in favor of determine_rate()
This driver implements both the determine_rate() and round_rate() clk ops, and the round_rate() clk ops is deprecated. When both are defined, clk_core_determine_round_nolock() from the clk core will only use the determine_rate() clk ops, so let's remove the round_rate() clk ops since it's unused. Signed-off-by: Brian Masney <bmasney@redhat.com> Link: https://lore.kernel.org/r/20250710-clk-imx-round-rate-v1-2-5726f98e6d8d@redhat.com Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
a16f19d2e8
commit
167483da96
|
|
@ -98,12 +98,6 @@ imx93_clk_composite_divider_recalc_rate(struct clk_hw *hw, unsigned long parent_
|
|||
return clk_divider_ops.recalc_rate(hw, parent_rate);
|
||||
}
|
||||
|
||||
static long
|
||||
imx93_clk_composite_divider_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate)
|
||||
{
|
||||
return clk_divider_ops.round_rate(hw, rate, prate);
|
||||
}
|
||||
|
||||
static int
|
||||
imx93_clk_composite_divider_determine_rate(struct clk_hw *hw, struct clk_rate_request *req)
|
||||
{
|
||||
|
|
@ -141,7 +135,6 @@ static int imx93_clk_composite_divider_set_rate(struct clk_hw *hw, unsigned long
|
|||
|
||||
static const struct clk_ops imx93_clk_composite_divider_ops = {
|
||||
.recalc_rate = imx93_clk_composite_divider_recalc_rate,
|
||||
.round_rate = imx93_clk_composite_divider_round_rate,
|
||||
.determine_rate = imx93_clk_composite_divider_determine_rate,
|
||||
.set_rate = imx93_clk_composite_divider_set_rate,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user