clk: rockchip: cleanup some code duplication
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | clk: rockchip: lookup General Register Files in rockchip_clk_initdrivers/ | +3 | 0 replies | |
| 2/7 | clk: rockchip: simplify GRF handling in pll clocksdrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 3/7 | clk: rockchip: drop old_rate calculation on pll rate changesdrivers/ | +6 | 0 replies | |
| 4/7 | clk: rockchip: abstract pll get-params and set-params operationsdrivers/ | +42 | 3 replies | |
| 5/7 | clk: rockchip: generalize pll set-rate operationdrivers/ | +23 | 0 replies | |
| 6/7 | clk: rockchip: move pll rate-comparison into a callable functiondrivers/ | +61 | 0 replies | |
| 7/7 | clk: rockchip: fold pll init functions into a common onedrivers/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] clk: rockchip: cleanup some code duplication
This tries to generalize code paths that contain some (nearly) duplicate code. While it's only a bit noticeable now for 3 different plls, the effect should be more pronounced when the next pll-type shows up.
Heiko Stuebner (7):
clk: rockchip: lookup General Register Files in rockchip_clk_init
clk: rockchip: simplify GRF handling in pll clocks
clk: rockchip: drop old_rate calculation on pll rate changes
clk: rockchip: abstract pll get-params and set-params operations
clk: rockchip: generalize pll set-rate operation
clk: rockchip: move pll rate-comparison into a callable function
clk: rockchip: fold pll init functions into one common one
drivers/clk/rockchip/clk-pll.c | 329 ++++++++++++++++------------------------- drivers/clk/rockchip/clk.c | 10 +- drivers/clk/rockchip/clk.h | 1 - 3 files changed, 131 insertions(+), 209 deletions(-)
Signature · 1 line
2.6.4