diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-11-03 13:08:09 +0100 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2025-11-13 15:22:24 +0000 |
| commit | 92f4b016dcb955cc0bb3942ac217cff6fe450a57 (patch) | |
| tree | 45ea0e4964d8b5ea5204292e1a1dafe0a09bb75a /rust/helpers/helpers.c | |
| parent | c42b91c426a12523b8d02bc6041f7931f199a301 (diff) | |
leds: led-class: Replace sprintf() with sysfs_emit() in sysfs show functions
Replace sprintf() with sysfs_emit() in sysfs show functions.
sysfs_emit() is preferred to format sysfs output as it provides better
bounds checking. No functional changes.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20251103120809.32834-1-thorsten.blum@linux.dev
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
