diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-12-05 14:10:42 +0800 |
---|---|---|
committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2022-12-26 16:14:53 +0800 |
commit | b251c0e7ea5ddfab21495c36cd3c3fa90c36f104 (patch) | |
tree | 17a319a6af01a82c255270afa2f177c399d5c875 /scripts/generate_rust_analyzer.py | |
parent | 256b734efc7494eb3c45f3ff5abd632ff0afde03 (diff) |
platform/chrome: use sysfs_emit_at() instead of scnprintf()
Follow the advice in Documentation/filesystems/sysfs.rst:
show() should only use sysfs_emit() or sysfs_emit_at() when formatting
the value to be returned to user space.
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20221205061042.1774769-1-tzungbi@kernel.org
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions