[PATCH] clk: versatile-icst: release regmap on registration failure
Brian Masney
masneyb at kernel.org
Tue Nov 24 08:35:16 PST 2026
Hi Wang,
On Sun, Nov 22, 2026 at 05:29:13PM +0800, 王浩然 wrote:
> Thanks for the review.
>
>
> devm_regmap_init_mmio() cannot be used here: the only in-tree caller
> passes dev == NULL. icst_clk_register() is reached from
> versatile_auxosc_clk_setup(), registered via CLK_OF_DECLARE:
>
>
> clk = icst_clk_register(NULL, desc, clk_name, parent_name, cm_base);
> (drivers/clk/versatile/clk-versatile.c:81)
I merged your change. I welcome another patch to remove the unused
struct dev here.
Brian
More information about the linux-arm-kernel
mailing list