diff options
| author | Park Tae-sun <ts930@dgu.ac.kr> | 2026-09-20 22:38:02 +0900 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-10-01 11:20:41 +0200 |
| commit | cb4b807e9ea6f467504e6deea7e444c00863c67d (patch) | |
| tree | 1d6772453716e5d1145d553e37151e447be95bf9 /tools/lib/python/kdoc/python_version.py | |
| parent | e9ea7d1677794bdb1e07788ef782c09a289e64ea (diff) | |
staging: greybus: gbphy: use sysfs_emit() instead of sprintf()
The sysfs documentation (Documentation/filesystems/sysfs.rst) recommends
using sysfs_emit() instead of sprintf() in sysfs show() callbacks.
Replace sprintf() with sysfs_emit() in the protocol_id_show() callback.
This follows the standard kernel practice and existing use of
sysfs_emit() in other Greybus sysfs show functions.
No functional change.
Signed-off-by: Park Tae-sun <ts930@dgu.ac.kr>
Link: https://patch.msgid.link/178991148260.29938.9272611738457436343@naver.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
