linux/drivers/clk/socfpga
Marco Pagani 3dc6faa3ab clk: socfpga: arria10: use of_clk_add_hw_provider and improve error handling
The function of_clk_add_provider() has been deprecated, so use its
suggested replacement of_clk_add_hw_provider() instead.

Since of_clk_add_hw_provider() can fail, like of_clk_add_provider(),
check its return value and do the error handling.

The return type of the init function has been changed to void since
the return value was not used, and the indentation of the parameters has
been aligned to match open parenthesis, as suggested by checkpatch.

Signed-off-by: Marco Pagani <marpagan@redhat.com>
Link: https://lore.kernel.org/r/20221209152913.1335068-7-marpagan@redhat.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-03-21 16:47:48 -07:00
..
clk-agilex.c clk: socfpga: agilex: Make use of the helper function devm_platform_ioremap_resource() 2022-01-05 16:43:41 -08:00
clk-gate-a10.c clk: socfpga: arria10: use of_clk_add_hw_provider and improve error handling 2023-03-21 16:47:48 -07:00
clk-gate-s10.c clk: cleanup comments 2022-03-11 18:22:15 -08:00
clk-gate.c clk: socfpga: use of_clk_add_hw_provider and improve error handling 2023-03-21 16:47:48 -07:00
clk-periph-a10.c clk: socfpga: arria10: use of_clk_add_hw_provider and improve error handling 2023-03-21 16:47:48 -07:00
clk-periph-s10.c clk: socfpga: cleanup spdx tags 2022-03-11 18:21:45 -08:00
clk-periph.c clk: socfpga: use of_clk_add_hw_provider and improve error handling 2023-03-21 16:47:48 -07:00
clk-pll-a10.c clk: socfpga: arria10: use of_clk_add_hw_provider and improve error handling 2023-03-21 16:47:48 -07:00
clk-pll-s10.c clk: socfpga: cleanup spdx tags 2022-03-11 18:21:45 -08:00
clk-pll.c clk: socfpga: use of_clk_add_hw_provider and improve error handling 2023-03-21 16:47:48 -07:00
clk-s10.c clk: socfpga: cleanup spdx tags 2022-03-11 18:21:45 -08:00
clk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
clk.h clk: socfpga: remove the setting of clk-phase for sdmmc_clk 2022-12-07 13:22:37 +01:00
Kconfig clk: socfpga: use ARCH_INTEL_SOCFPGA also for 32-bit ARM SoCs (and compile test) 2021-03-23 11:03:36 -05:00
Makefile clk: socfpga: use ARCH_INTEL_SOCFPGA also for 32-bit ARM SoCs (and compile test) 2021-03-23 11:03:36 -05:00
stratix10-clk.h clk: agilex/stratix10: add support for the 2nd bypass 2021-06-27 16:39:59 -07:00