diff options
author | Binbin Zhou <zhoubinbin@loongson.cn> | 2025-01-14 21:00:28 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-01-14 11:14:06 -0800 |
commit | 54e020bd1190c6ac461d4ba9274d6c319ee1c70f (patch) | |
tree | 2e85609825e9a64c89e722d0e0f54349c2794436 /drivers/clk/qcom/clk-rpmh.c | |
parent | 838c0a41d7ed892de85329c199ac604611f8efe7 (diff) |
clk: clk-loongson2: Switch to use devm_clk_hw_register_fixed_rate_parent_data()
Since commit 706ae6446494 ("clk: fixed-rate: add
devm_clk_hw_register_fixed_rate_parent_data()"), we can use the
devm_clk_hw_register_fixed_rate_parent_data() helper and from then on
there is no need to manually unregister the fixed rate hw.
Since clk_hw_unregister_fixed_rate() was not called before, we also fix
the memory leak that was present.
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Link: https://lore.kernel.org/r/8733a7485619bdb791de25201a3d7984d1849c9f.1736856470.git.zhoubinbin@loongson.cn
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/qcom/clk-rpmh.c')
0 files changed, 0 insertions, 0 deletions