]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'net-stmmac-pass-struct-device-to-init-exit'
authorJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 01:54:10 +0000 (17:54 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 01:54:10 +0000 (17:54 -0800)
commitfdc38d34b37c8bfd24960b53fc65eae2ef575066
tree676a3a91114fb106f02113f909b0daa943fcd7ca
parent4707191ca9d337599cdcfd8b296344c28eef9d03
parent1a62894e040dad73782e0c1a4b0e8a0d5480d29b
Merge branch 'net-stmmac-pass-struct-device-to-init-exit'

Russell King says:

====================
net: stmmac: pass struct device to init/exit

Rather than passing the platform device to the ->init() and ->exit()
methods, make these methods useful for other devices by passing the
struct device instead. Update the implementations appropriately for
this change.

Move the calls for these methods into the core driver's probe and
remove methods from the stmmac_platform layer.

Convert dwmac-rk to use ->init() and ->exit().
====================

Link: https://patch.msgid.link/aR2V0Kib7j0L4FNN@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>