From: Stephen Boyd <sboyd@kernel.org>
To: Binbin Zhou <zhoubb.aaron@gmail.com>,
Binbin Zhou <zhoubinbin@loongson.cn>,
Huacai Chen <chenhuacai@loongson.cn>,
Michael Turquette <mturquette@baylibre.com>,
Yinbo Zhu <zhuyinbo@loongson.cn>
Cc: Huacai Chen <chenhuacai@kernel.org>,
linux-clk@vger.kernel.org, Xuerui Wang <kernel@xen0n.name>,
loongarch@lists.linux.dev, Binbin Zhou <zhoubinbin@loongson.cn>
Subject: Re: [PATCH v3 1/2] clk: clk-loongson2: Switch to use devm_clk_hw_register_fixed_rate_parent_data()
Date: Tue, 14 Jan 2025 11:14:22 -0800 [thread overview]
Message-ID: <faec889d5d2f91d1477b2f2ba1457fb3.sboyd@kernel.org> (raw)
In-Reply-To: <8733a7485619bdb791de25201a3d7984d1849c9f.1736856470.git.zhoubinbin@loongson.cn>
Quoting Binbin Zhou (2025-01-14 05:00:28)
> 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>
> ---
Applied to clk-next
next prev parent reply other threads:[~2025-01-14 19:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 13:00 [PATCH v3 0/2] clk: clk-loongson2: Fix two small issues Binbin Zhou
2025-01-14 13:00 ` [PATCH v3 1/2] clk: clk-loongson2: Switch to use devm_clk_hw_register_fixed_rate_parent_data() Binbin Zhou
2025-01-14 19:14 ` Stephen Boyd [this message]
2025-01-14 13:00 ` [PATCH v3 2/2] clk: clk-loongson2: Fix the number count of clk provider Binbin Zhou
2025-01-14 19:14 ` Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=faec889d5d2f91d1477b2f2ba1457fb3.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=kernel@xen0n.name \
--cc=linux-clk@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=mturquette@baylibre.com \
--cc=zhoubb.aaron@gmail.com \
--cc=zhoubinbin@loongson.cn \
--cc=zhuyinbo@loongson.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).