clk: fixed-rate: Move to_clk_fixed_rate() to C file
authorStephen Boyd <sboyd@kernel.org>
Fri, 30 Aug 2019 15:09:15 +0000 (08:09 -0700)
committerStephen Boyd <sboyd@kernel.org>
Sun, 5 Jan 2020 21:34:37 +0000 (13:34 -0800)
commit38d1e38093b7d85ed0fa3a28c13c3266db505b3b
treea949da9c4e003cd090e16864a0810ed50d5879ae
parent576859dfc54897e405cd7c6ad683792737dcebfd
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
drivers/clk/clk-fixed-rate.c
include/linux/clk-provider.h