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

From: Markus Elfring
Date: Sun Dec 24 2023 - 11:34:41 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
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