]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
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)
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>

Trivial merge