diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2014-12-02 02:54:18 -0500 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2014-12-03 18:15:34 -0500 |
commit | 4afbe1760d89fec07e7a8cce58beb1b4921a194c (patch) | |
tree | 9e5782812d293d5ea8ac7aff19f9d991fcd95e96 | |
parent | ffa3a37a611190b2a7f44b24b903b3985d8ba780 (diff) |
clk: Remove unused function __clk_get_prepare_count
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
-rw-r--r-- | drivers/clk/clk.c | 5 | ||||
-rw-r--r-- | include/linux/clk-provider.h | 1 |
2 files changed, 0 insertions, 6 deletions
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) | |||
574 | return !clk ? 0 : clk->enable_count; | 574 | return !clk ? 0 : clk->enable_count; |
575 | } | 575 | } |
576 | 576 | ||
577 | unsigned int __clk_get_prepare_count(struct clk *clk) | ||
578 | { | ||
579 | return !clk ? 0 : clk->prepare_count; | ||
580 | } | ||
581 | |||
582 | unsigned long __clk_get_rate(struct clk *clk) | 577 | unsigned long __clk_get_rate(struct clk *clk) |
583 | { | 578 | { |
584 | unsigned long ret; | 579 | 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); | |||
544 | struct clk *__clk_get_parent(struct clk *clk); | 544 | struct clk *__clk_get_parent(struct clk *clk); |
545 | struct clk *clk_get_parent_by_index(struct clk *clk, u8 index); | 545 | struct clk *clk_get_parent_by_index(struct clk *clk, u8 index); |
546 | unsigned int __clk_get_enable_count(struct clk *clk); | 546 | unsigned int __clk_get_enable_count(struct clk *clk); |
547 | unsigned int __clk_get_prepare_count(struct clk *clk); | ||
548 | unsigned long __clk_get_rate(struct clk *clk); | 547 | unsigned long __clk_get_rate(struct clk *clk); |
549 | unsigned long __clk_get_accuracy(struct clk *clk); | 548 | unsigned long __clk_get_accuracy(struct clk *clk); |
550 | unsigned long __clk_get_flags(struct clk *clk); | 549 | unsigned long __clk_get_flags(struct clk *clk); |