[PATCH 0/6] clk: socfpga: use of_clk_add_hw_provider and improve error handling

From: Marco Pagani
Date: Fri Dec 09 2022 - 10:30:30 EST


This patch set improves error handling and replaces the deprecated
of_clk_add_provider() function with of_clk_add_hw_provider() in the
Intel SoC-FPGA family clock drivers.

The patch set is based on top of the patch: "Fix memory leak in
socfpga_gate_init()" to avoid a conflict.

https://lore.kernel.org/all/20221123031622.63171-1-xiujianfeng@xxxxxxxxxx/

Marco Pagani (6):
clk: socfpga: use of_clk_add_hw_provider and improve error handling
clk: socfpga: arria10: use of_clk_add_hw_provider and improve error
handling
clk: socfpga: use of_clk_add_hw_provider and improve error handling
clk: socfpga: arria10: use of_clk_add_hw_provider and improve error
handling
clk: socfpga: use of_clk_add_hw_provider and improve error handling
clk: socfpga: arria10: use of_clk_add_hw_provider and improve error
handling

drivers/clk/socfpga/clk-gate-a10.c | 26 +++++++++++++++------
drivers/clk/socfpga/clk-gate.c | 35 +++++++++++++++++-----------
drivers/clk/socfpga/clk-periph-a10.c | 22 ++++++++++-------
drivers/clk/socfpga/clk-periph.c | 26 ++++++++++++++++-----
drivers/clk/socfpga/clk-pll-a10.c | 30 +++++++++++++++++-------
drivers/clk/socfpga/clk-pll.c | 32 +++++++++++++++++--------
6 files changed, 118 insertions(+), 53 deletions(-)

--
2.38.1