Commit 21291491 authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Stephen Boyd
Browse files

clk: Remove unused clk_hw_rate_is_protected



clk_hw_rate_is_protected() was added in 2017's commit
e55a839a ("clk: add clock protection mechanism to clk core")

but has been unused.

Remove it.

Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Link: https://lore.kernel.org/r/20241009003552.254675-1-linux@treblig.org


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 9852d85e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -608,12 +608,6 @@ bool clk_hw_is_prepared(const struct clk_hw *hw)
}
EXPORT_SYMBOL_GPL(clk_hw_is_prepared);

bool clk_hw_rate_is_protected(const struct clk_hw *hw)
{
	return clk_core_rate_is_protected(hw->core);
}
EXPORT_SYMBOL_GPL(clk_hw_rate_is_protected);

bool clk_hw_is_enabled(const struct clk_hw *hw)
{
	return clk_core_is_enabled(hw->core);
+0 −1
Original line number Diff line number Diff line
@@ -1360,7 +1360,6 @@ unsigned long clk_hw_get_flags(const struct clk_hw *hw);
	(clk_hw_get_flags((hw)) & CLK_SET_RATE_PARENT)

bool clk_hw_is_prepared(const struct clk_hw *hw);
bool clk_hw_rate_is_protected(const struct clk_hw *hw);
bool clk_hw_is_enabled(const struct clk_hw *hw);
bool __clk_is_enabled(struct clk *clk);
struct clk *__clk_lookup(const char *name);