Skip to content

clk: ti: Adjustments for eight function implementations

Markus Elfring cocci kernel-janitors linux-clk linux-omap lkml oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10clk: ti: Less function calls in of_omap2_apll_setup() after error detectiondrivers/clk/ti/apll.c+14 -91 reply
2/10clk: ti: Less function calls in of_dra7_apll_setup() after error detectiondrivers/clk/ti/apll.c+18 -100 replies
3/10clk: ti: Use common code in omap_clk_register_apll()drivers/clk/ti/apll.c+3 -40 replies
4/10clk: ti: Less function calls in ti_fapll_setup() after error detectiondrivers/clk/ti/fapll.c+14 -120 replies
5/10clk: ti: One function call less in ti_fapll_synth_setup() after error detectiondrivers/clk/ti/fapll.c+2 -10 replies
6/10clk: ti: Return directly after a failed kzalloc() in of_mux_clk_setup()drivers/clk/ti/mux.c+1 -10 replies
7/10clk: ti: Less function calls in _ti_omap4_clkctrl_setup() after error detectiondrivers/clk/ti/clkctrl.c+6 -40 replies
8/10clk: ti: Use common error handling code in _ti_omap4_clkctrl_setup()drivers/clk/ti/clkctrl.c+11 -120 replies
9/10clk: ti: Less function calls in _ti_clkctrl_clk_register() after error detectiondrivers/clk/ti/clkctrl.c+6 -31 reply
10/10clk: ti: Delete an unnecessary initialisation in _ti_clkctrl_clk_register()drivers/clk/ti/clkctrl.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] clk: ti: Adjustments for eight function implementations

From: Markus Elfring <[email protected]>
Date: Sun, 24 Dec 2023 17:03:21 +0100

Several update suggestions were taken into account from static source code analysis.

Markus Elfring (10):
Less function calls in of_omap2_apll_setup() after error detection Less function calls in of_dra7_apll_setup() after error detection Use common code in omap_clk_register_apll()
Less function calls in ti_fapll_setup() after error detection One function call less in ti_fapll_synth_setup() after error detection Return directly after a failed kzalloc() in of_mux_clk_setup() Less function calls in _ti_omap4_clkctrl_setup() after error detection Use common error handling code in _ti_omap4_clkctrl_setup() Less function calls in _ti_clkctrl_clk_register() after error detection Delete an unnecessary initialisation in _ti_clkctrl_clk_register()

 drivers/clk/ti/apll.c    | 58 ++++++++++++++++++++++++----------------
 drivers/clk/ti/clkctrl.c | 44 ++++++++++++++++--------------
 drivers/clk/ti/fapll.c   | 29 +++++++++++---------
 drivers/clk/ti/mux.c     |  2 +-
 4 files changed, 76 insertions(+), 57 deletions(-)

--
2.43.0