clk: lan966x: Remove unused round_rate hook
authorMaxime Ripard <maxime@cerno.tech>
Fri, 5 May 2023 11:25:07 +0000 (13:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Fri, 9 Jun 2023 01:39:25 +0000 (18:39 -0700)
commite2533dad2f683976166d365aaeec65af7841a2de
tree4bc1128e9589137afe51e2b46975f472bd5199a9
parent33b70fbc4f815f0acb327fa506c988ef25cd943d
clk: lan966x: Remove unused round_rate hook

The lan966x driver registers a gck clock with both a determine_rate and
a round_rate implementation. Both are equivalent, and are only called by
clk_core_determine_round_nolock() which favors determine_rate.

Thus, lan966x_gck_round_rate() is never called, so we can just remove
it.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20221018-clk-range-checks-fixes-v4-5-971d5077e7d2@cerno.tech
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-lan966x.c