Messages in this thread Patch in this message | | | From | Tomeu Vizoso <> | Subject | [PATCH v2 2/8] clk: Remove unused function __clk_get_prepare_count | Date | Tue, 7 Oct 2014 17:21:47 +0200 |
| |
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> --- drivers/clk/clk.c | 5 ----- include/linux/clk-provider.h | 1 - 2 files changed, 6 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index bacc06f..c4b39ce 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -586,11 +586,6 @@ unsigned int __clk_get_enable_count(struct clk *clk) return !clk ? 0 : clk->enable_count; } -unsigned int __clk_get_prepare_count(struct clk *clk) -{ - return !clk ? 0 : clk->prepare_count; -} - unsigned long __clk_get_rate(struct clk *clk) { unsigned long ret; diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 411dd7e..94c491e 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -512,7 +512,6 @@ u8 __clk_get_num_parents(struct clk *clk); struct clk *__clk_get_parent(struct clk *clk); struct clk *clk_get_parent_by_index(struct clk *clk, u8 index); unsigned int __clk_get_enable_count(struct clk *clk); -unsigned int __clk_get_prepare_count(struct clk *clk); unsigned long __clk_get_rate(struct clk *clk); unsigned long __clk_get_accuracy(struct clk *clk); unsigned long __clk_get_flags(struct clk *clk); -- 1.9.3
| |