From: Kexin Sun Date: Sat, 21 Mar 2026 10:58:25 +0000 (+0800) Subject: net: phy: update outdated comment for removed phy_package_read/write() X-Git-Tag: v7.1-rc1~173^2~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4b908c89d88d4b7251c566457979c4167b9664c;p=thirdparty%2Fkernel%2Flinux.git net: phy: update outdated comment for removed phy_package_read/write() 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 Link: https://patch.msgid.link/20260321105825.7221-1-kexinsun@smail.nju.edu.cn Signed-off-by: Paolo Abeni --- diff --git a/drivers/net/phy/phy_package.c b/drivers/net/phy/phy_package.c index 63e4f862f731e..16ae8d1c1f89a 100644 --- a/drivers/net/phy/phy_package.c +++ b/drivers/net/phy/phy_package.c @@ -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.