clk: starfive: Simplify .determine_rate()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 7 Jul 2023 20:02:18 +0000 (22:02 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 19 Jul 2023 19:50:42 +0000 (12:50 -0700)
commit8303d4eed208efca3d1872b7c45794c356d3fe11
tree6d9dcf1e35a3ce58f7d0a155dd2a53a74d127007
parentfd8c0b5adc2d36357bb07234add2d06d15c69304
clk: starfive: Simplify .determine_rate()

jh71x0_clk_mux_determine_rate() is the same as __clk_mux_determine_rate(),
so use the latter to save some LoC.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/085541814ebe2543cb7e8a31004c0da3e7d5b6eb.1688760111.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/starfive/clk-starfive-jh71x0.c