net: allwinner: Use devm_clk_get_enabled() in emac_probe()
Markus Elfring
Markus.Elfring at web.de
Wed Nov 25 04:48:15 PST 2026
> 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
More information about the linux-arm-kernel
mailing list