]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: mxl862xx: rename MDIO op arguments
authorDaniel Golle <daniel@makrotopia.org>
Tue, 3 Mar 2026 03:17:43 +0000 (03:17 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Mar 2026 00:41:19 +0000 (16:41 -0800)
commitaefa52a28a36cf4c9063c095a8191c951e07eb4e
tree00cafe03e920f6c92d062825a0ea44ad220a156d
parent8838bb185ef3c801ea4641a95bdace6210cd4b4e
net: dsa: mxl862xx: rename MDIO op arguments

The use of the 'port' argument name for functions implementing the MDIO
bus operations is misleading as the port address isn't equal to the
PHY address.

Rename the MDIO operation argument name to match the prototypes of
mdiobus_write, mdiobus_read, mdiobus_c45_read and mdiobus_c45_write.

Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/e1f4cb3bcffc7df9af0f2c9b673b14c7e1201c9a.1772507674.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mxl862xx/mxl862xx.c