From: Tomeu Vizoso Date: Tue, 2 Dec 2014 07:54:18 +0000 (+0100) Subject: clk: Remove unused function __clk_get_prepare_count X-Git-Tag: firefly_0821_release~176^2~2601^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4afbe1760d89fec07e7a8cce58beb1b4921a194c;p=firefly-linux-kernel-4.4.55.git clk: Remove unused function __clk_get_prepare_count Signed-off-by: Tomeu Vizoso Reviewed-by: Stephen Boyd Signed-off-by: Michael Turquette --- diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 5307225684eb..42f940ff5edf 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -574,11 +574,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 2839c639f092..fcf3252b829f 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -544,7 +544,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);