summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-06-16 22:06:22 +0100
committerJakub Kicinski <kuba@kernel.org>2025-06-17 16:25:20 -0700
commit1923c6c3a8b7fb7d8f35f558f1744667fae51207 (patch)
tree0fa4e51952d2f8e823f4d5a4a442cbb32f98edca /scripts/lib/kdoc/kdoc_re.py
parent7d7525876b5a7fe8d3229e8e04e78b166e5e8d75 (diff)
net: stmmac: visconti: reorganise visconti_eth_set_clk_tx_rate()
Rather than testing dwmac->phy_intf_sel several times for the same values in this function, group the code together. The only part which was common was stopping the internal clock before programming the clock setting. This further improves the readability of this function. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/E1uRH26-004UyM-9G@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions