diff options
| author | Brian Masney <bmasney@redhat.com> | 2025-12-12 08:41:42 +0900 |
|---|---|---|
| committer | Brian Masney <bmasney@redhat.com> | 2026-02-22 17:38:21 -0500 |
| commit | dc652a33cf08ecd7c9935bf9168a1a27c9a246f0 (patch) | |
| tree | 97e6d0e247d1b426aee76e3654fcccc7defa91f8 /Documentation/driver-api | |
| parent | 4ce1f19e529b16b0ec871e536e18a871cadb86cf (diff) | |
| download | lwn-dc652a33cf08ecd7c9935bf9168a1a27c9a246f0.tar.gz lwn-dc652a33cf08ecd7c9935bf9168a1a27c9a246f0.zip | |
clk: remove round_rate() clk ops
The round_rate() clk ops is deprecated, and all in tree drivers have
been converted, so let's go ahead and remove any references to the
round_rate() clk ops.
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'Documentation/driver-api')
| -rw-r--r-- | Documentation/driver-api/clk.rst | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Documentation/driver-api/clk.rst b/Documentation/driver-api/clk.rst index 93bab5336dfd..c6aca8186a78 100644 --- a/Documentation/driver-api/clk.rst +++ b/Documentation/driver-api/clk.rst @@ -77,9 +77,6 @@ the operations defined in clk-provider.h:: void (*disable_unused)(struct clk_hw *hw); unsigned long (*recalc_rate)(struct clk_hw *hw, unsigned long parent_rate); - long (*round_rate)(struct clk_hw *hw, - unsigned long rate, - unsigned long *parent_rate); int (*determine_rate)(struct clk_hw *hw, struct clk_rate_request *req); int (*set_parent)(struct clk_hw *hw, u8 index); @@ -220,9 +217,7 @@ optional or must be evaluated on a case-by-case basis. +----------------+------+-------------+---------------+-------------+------+ |.recalc_rate | | y | | | | +----------------+------+-------------+---------------+-------------+------+ - |.round_rate | | y [1]_ | | | | - +----------------+------+-------------+---------------+-------------+------+ - |.determine_rate | | y [1]_ | | | | + |.determine_rate | | y | | | | +----------------+------+-------------+---------------+-------------+------+ |.set_rate | | y | | | | +----------------+------+-------------+---------------+-------------+------+ @@ -238,8 +233,6 @@ optional or must be evaluated on a case-by-case basis. |.init | | | | | | +----------------+------+-------------+---------------+-------------+------+ -.. [1] either one of round_rate or determine_rate is required. - Finally, register your clock at run-time with a hardware-specific registration function. This function simply populates struct clk_foo's data and then passes the common struct clk parameters to the framework |
