Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <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>

authored by

Kexin Sun and committed by
Paolo Abeni
a4b908c8 88c07dff

+2 -2
+2 -2
drivers/net/phy/phy_package.c
··· 194 194 * for offset calculation to access generic registers of a PHY package. 195 195 * Usually, one of the PHY addresses of the different PHYs in the package 196 196 * provides access to these global registers. 197 - * The address which is given here, will be used in the phy_package_read() 198 - * and phy_package_write() convenience functions as base and added to the 197 + * The address which is given here, will be used in the __phy_package_read() 198 + * and __phy_package_write() convenience functions as base and added to the 199 199 * passed offset in those functions. 200 200 * 201 201 * This will set the shared pointer of the phydev to the shared storage.