Thread (24 messages) 24 messages, 7 authors, 2024-09-07

Re: [PATCH net-next 09/12] net: ethernet: sunplus: Convert using devm_clk_get_enabled() in spl2sw_probe()

From: Li Zetao <hidden>
Date: 2024-09-04 01:28:21
Also in: linux-arm-kernel, linux-rockchip, linux-sunxi, linux-wireless

Hi,

在 2024/9/4 6:16, Jakub Kicinski 写道:
On Sat, 31 Aug 2024 10:13:31 +0800 Li Zetao wrote:
quoted
+	comm->clk = devm_clk_get_enabled(&pdev->dev, NULL);
You can remove clk from the driver struct now.
I don’t quite understand why clk can be removed from the driver struct, 
maybe I missed some important discussion information in the community, 
please let me know, thank you.
Please check if the same applies to other patches.
Thanks,
Li Zetao.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help