diff options
| author | 2025-11-07 08:29:21 +0000 | |
|---|---|---|
| committer | 2025-11-10 17:30:40 -0800 | |
| commit | 9352f74fd13de34468be95291bdb0782aac8ca3d (patch) | |
| tree | 8fec0078012f5fc83252bad22ac98937953ea9c8 /scripts/Makefile.thinlto | |
| parent | net: stmmac: ingenic: simplify x2000 mac_set_mode() (diff) | |
net: stmmac: ingenic: pass ingenic_mac struct rather than plat_dat
It no longer makes sense to pass a pointer to struct
plat_stmmacenet_data when calling the set_mode() methods to only use it
to get a pointer to the ingenic_mac structure that we already had in
the caller. Simplify this by passing the struct ingenic_mac pointer.
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1vHHqT-0000000Djrh-0ka3@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
