]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: phy: update outdated comment for removed phy_package_read/write()
authorKexin Sun <kexinsun@smail.nju.edu.cn>
Sat, 21 Mar 2026 10:58:25 +0000 (18:58 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 24 Mar 2026 12:21:28 +0000 (13:21 +0100)
The locked convenience functions phy_package_read() and
phy_package_write() were removed (as they had no users) by commit
e7f984e925d2 ("net: phy: move PHY package related code from phy.h
to phy_package.c").  Update the comment to reference the existing
unlocked counterparts __phy_package_read() and __phy_package_write().

Assisted-by: unnamed:deepseek-v3.2 coccinelle
Signed-off-by: Kexin Sun <kexinsun@smail.nju.edu.cn>
Link: https://patch.msgid.link/20260321105825.7221-1-kexinsun@smail.nju.edu.cn
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/phy_package.c

index 63e4f862f731e957b1666c14b97d257573510fe7..16ae8d1c1f89ac6338291fc6c493d62bd2a17bd0 100644 (file)
@@ -194,8 +194,8 @@ EXPORT_SYMBOL_GPL(phy_package_probe_once);
  * for offset calculation to access generic registers of a PHY package.
  * Usually, one of the PHY addresses of the different PHYs in the package
  * provides access to these global registers.
- * The address which is given here, will be used in the phy_package_read()
- * and phy_package_write() convenience functions as base and added to the
+ * The address which is given here, will be used in the __phy_package_read()
+ * and __phy_package_write() convenience functions as base and added to the
  * passed offset in those functions.
  *
  * This will set the shared pointer of the phydev to the shared storage.