diff options
| author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2026-03-24 10:21:00 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-26 18:19:42 -0700 |
| commit | 9bd1af853750af99f7038af239bc7d8a525fb720 (patch) | |
| tree | d84aff9c25aec830d68ec3398f9a5b78861e59e3 /tools/perf/scripts/python/bin | |
| parent | adf1536f79a5699b2fbece74d175af43320ec404 (diff) | |
net: stmmac: dwmac-sofcpga: Drop the struct device reference
We keep a reference to our the struct device in the socfpga_dwmac priv
structure, but now it's only ever used to produce logs in the
.set_phy_mode() ops, that are specific to this driver.
When we call that ops, we always have a ref to the struct device around,
so let's pass it to .set_phy_mode(). We can now discard that reference
from struct socfpga_dwmac.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20260324092102.687082-6-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
