From: "Dr. David Alan Gilbert" <linux@treblig.org>
To: mturquette@baylibre.com, sboyd@kernel.org
Cc: linux-clk@vger.kernel.org
Subject: Of clk_hw_unregister_fractional_divider
Date: Wed, 9 Oct 2024 00:54:24 +0000 [thread overview]
Message-ID: <ZwXUQOr-afniO-2u@gallifrey> (raw)
Hi,
One of my scripts noticed that clk_hw_unregister_fractional_divider
was unused and I was thinking of dead coding it, but thought it worth
asking whether it's actually a missing call to it.
It was added in 2016 by:
commit 39b44cff4ad4af6d7abd9dd2acb288b005c26503
Author: Stephen Boyd <sboyd@codeaurora.org>
Date: Sun Feb 7 00:15:09 2016 -0800
clk: fractional-divider: Add hw based registration APIs
and I can see clk_hw_register_fractional_divider is called from
clk_register_fractional_divider.
Is that just consequence of them being system devices that never
get unregistered or something else?
Thanks,
Dave
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
next reply other threads:[~2024-10-09 0:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-09 0:54 Dr. David Alan Gilbert [this message]
2024-10-09 20:29 ` Of clk_hw_unregister_fractional_divider Stephen Boyd
2024-10-10 0:58 ` Dr. David Alan Gilbert
2024-10-10 1:23 ` 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=ZwXUQOr-afniO-2u@gallifrey \
--to=linux@treblig.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
/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