summaryrefslogtreecommitdiffstats
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-08-30 08:09:15 -0700
committerStephen Boyd <sboyd@kernel.org>2020-01-05 13:34:37 -0800
commit38d1e38093b7d85ed0fa3a28c13c3266db505b3b (patch)
treea949da9c4e003cd090e16864a0810ed50d5879ae /include/linux/clk-provider.h
parent576859dfc54897e405cd7c6ad683792737dcebfd (diff)
downloadlinux-38d1e38093b7d85ed0fa3a28c13c3266db505b3b.tar.bz2
clk: fixed-rate: Move to_clk_fixed_rate() to C file
The only user of this macro is the fixed rate basic type. Move it there to avoid polluting provider drivers. Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lkml.kernel.org/r/20190830150923.259497-5-sboyd@kernel.org
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index d7082f421850..db4c760e8645 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -328,8 +328,6 @@ struct clk_fixed_rate {
unsigned long fixed_accuracy;
};
-#define to_clk_fixed_rate(_hw) container_of(_hw, struct clk_fixed_rate, hw)
-
extern const struct clk_ops clk_fixed_rate_ops;
struct clk *clk_register_fixed_rate(struct device *dev, const char *name,
const char *parent_name, unsigned long flags,