summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2026-01-09 00:16:45 +0300
committerBrian Masney <bmasney@redhat.com>2026-02-23 01:38:37 +0300
commitd4851759742c1322f498021dab882d322fc34a1d (patch)
tree4758cc7157faf0116826d222b384b5f5f4a8961c /include
parent4b5231d608d00749a2346a3dd11bd6d05c0662e3 (diff)
downloadlinux-d4851759742c1322f498021dab882d322fc34a1d.tar.xz
clk: divider: remove divider_round_rate() and divider_round_rate_parent()
There are no remaining users of divider_round_rate() and divider_round_rate_parent(), so let's go ahead and remove them. Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk-provider.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 0d31077749fb..4d21602d7dbd 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -733,10 +733,6 @@ extern const struct clk_ops clk_divider_ro_ops;
unsigned long divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate,
unsigned int val, const struct clk_div_table *table,
unsigned long flags, unsigned long width);
-long divider_round_rate_parent(struct clk_hw *hw, struct clk_hw *parent,
- unsigned long rate, unsigned long *prate,
- const struct clk_div_table *table,
- u8 width, unsigned long flags);
int divider_determine_rate(struct clk_hw *hw, struct clk_rate_request *req,
const struct clk_div_table *table, u8 width,
unsigned long flags);
@@ -1427,15 +1423,6 @@ static inline void __clk_hw_set_clk(struct clk_hw *dst, struct clk_hw *src)
dst->core = src->core;
}
-static inline long divider_round_rate(struct clk_hw *hw, unsigned long rate,
- unsigned long *prate,
- const struct clk_div_table *table,
- u8 width, unsigned long flags)
-{
- return divider_round_rate_parent(hw, clk_hw_get_parent(hw),
- rate, prate, table, width, flags);
-}
-
/*
* FIXME clock api without lock protection
*/