Commit 838c0a41 authored by Changhuang Liang's avatar Changhuang Liang Committed by Stephen Boyd
Browse files

clk: starfive: Make _clk_get become a common helper function



Introduce num_reg to store the number of clocks, this helps to make
_clk_get become a common helper function which called jh71x0_clk_get().
With this, it helps to simplify the code and extend the code in the
future.

Signed-off-by: default avatarChanghuang Liang <changhuang.liang@starfivetech.com>
Link: https://lore.kernel.org/r/20250114081300.36600-1-changhuang.liang@starfivetech.com


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 90036009
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment