]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: fixed_phy: simplify fixed_mdio_read
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 26 Aug 2025 19:24:44 +0000 (21:24 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 Aug 2025 01:09:08 +0000 (18:09 -0700)
commit6aff3699906bd1017fd9017bed133681b0eb8a42
tree44fdeb72078fe75505ef8b5e86a9bcad78f96c9e
parenta6bac1822931bc3c862c07d535ab4192582c023c
net: phy: fixed_phy: simplify fixed_mdio_read

swphy_read_reg() doesn't change the passed struct fixed_phy_status,
so we can pass &fp->status directly.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://patch.msgid.link/c49195c7-a3a1-485c-baed-9b33740752de@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/fixed_phy.c