summaryrefslogtreecommitdiff
path: root/drivers/clk/sirf
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-09-03 04:50:44 +0300
committerStephen Boyd <sboyd@kernel.org>2020-10-14 06:04:50 +0300
commit29c37341b54f7a500727799b94565fcc5dd8e6f8 (patch)
tree7a9cfaa29a95c774830a1e7c3c67136da75a700b /drivers/clk/sirf
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff)
downloadlinux-29c37341b54f7a500727799b94565fcc5dd8e6f8.tar.xz
clk: ingenic: Use to_clk_info() macro for all clocks
The to_clk_info() previously had a BUG_ON() to check that it was only called for PLL clocks. Yet, all the other clocks were doing the exact same thing the macro does, in-line. Move the to_clk_info() macro to the top of the file, remove the hardcoded BUG_ON(), and use it everywhere it makes sense. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20200903015048.3091523-1-paul@crapouillou.net Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/sirf')
0 files changed, 0 insertions, 0 deletions