Indeed. I should not have switched to devm here - It was not really the- return of_clk_add_provider(np, of_clk_src_simple_get, va->hw.clk);Now that we convert this to devm, You missed error path and driver remove
+ return devm_of_clk_add_hw_provider(dev, of_clk_hw_simple_get, &va->hw);
where we delete clk provider. This should be removed as well as part of
this patch.
purpose of the patch. Habits I guess.
Do you prefer I stick with devm (with the suggested fix) or revert to the
no-devm way for the v2 ? It makes no difference to me TBH.