diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-08 18:51:46 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-01-29 23:59:50 +0300 |
commit | 5fd9c05c846db98319e75496612da24435cee208 (patch) | |
tree | eea4db5c7285b5bfe3173b085c3880bdb4277100 /drivers/clk/clk-fractional-divider.c | |
parent | f9285b54d657f433746df9232068c32ef138ebc4 (diff) | |
download | linux-5fd9c05c846db98319e75496612da24435cee208.tar.xz |
clk: move the common clock's to_clk_*(_hw) macros to clk-provider.h
to_clk_*(_hw) macros have been repeatedly defined in many places.
This patch moves all the to_clk_*(_hw) definitions in the common
clock framework to public header clk-provider.h, and drop the local
definitions.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-fractional-divider.c')
-rw-r--r-- | drivers/clk/clk-fractional-divider.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/clk-fractional-divider.c b/drivers/clk/clk-fractional-divider.c index 5c4955e33f7a..1abcd76b4993 100644 --- a/drivers/clk/clk-fractional-divider.c +++ b/drivers/clk/clk-fractional-divider.c @@ -16,8 +16,6 @@ #include <linux/slab.h> #include <linux/rational.h> -#define to_clk_fd(_hw) container_of(_hw, struct clk_fractional_divider, hw) - static unsigned long clk_fd_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) { |