Re: net: allwinner: Use devm_clk_get_enabled() in emac_probe()
From: Markus Elfring
Date: Wed Nov 25 2026 - 07:49:31 EST
> This breaks the order at remove and probe error path cases.
Would the proposed control flow adjustment be different from a “break”?
> Note, devm_*() at this case will keep just a clk object, but
> the actual enabling is done explicitly.
https://elixir.bootlin.com/linux/v7.4-rc1/source/drivers/net/ethernet/allwinner/sun4i-emac.c#L960-L1082
> W/o testing on real
> HW it's hard to say if this order is strict or not.
How will the support refined further also for collateral evolution together with
devres programming interfaces?
Regards,
Markus