]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: dwc-qos: clean up clock initialisation
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 24 Feb 2025 16:53:15 +0000 (16:53 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Feb 2025 02:17:54 +0000 (18:17 -0800)
commit196b07ba910403c75d96a82000efa3942da243b8
tree9199e3db80727da5592e32939b865a6bb8740fde
parentcff608268bafc6c70a3c67680805df6ffb389e57
net: stmmac: dwc-qos: clean up clock initialisation

Clean up the clock initialisation by providing a helper to find a
named clock in the bulk clocks, and provide the name of the stmmac
clock in match data so we can locate the stmmac clock in generic
code.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/E1tmbhj-004vSz-Pt@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c