Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

在 2024/9/4 6:16, Jakub Kicinski 写道:
On Sat, 31 Aug 2024 10:13:31 +0800 Li Zetao wrote:
+	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.




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux