From: Jakub Kicinski Date: Fri, 21 Nov 2025 01:54:10 +0000 (-0800) Subject: Merge branch 'net-stmmac-pass-struct-device-to-init-exit' X-Git-Tag: v6.19-rc1~170^2~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdc38d34b37c8bfd24960b53fc65eae2ef575066;p=thirdparty%2Fkernel%2Flinux.git 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 --- fdc38d34b37c8bfd24960b53fc65eae2ef575066