Skip to content
Commit b5155ddd authored by Wang Yufen's avatar Wang Yufen Committed by Jakub Kicinski
Browse files

net: phy: Convert to use sysfs_emit() APIs



Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the value
to be returned to user space.

Signed-off-by: default avatarWang Yufen <wangyufen@huawei.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/1664364860-29153-1-git-send-email-wangyufen@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 92346bde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment