diff options
author | Ai Chao <[email protected]> | 2024-03-14 13:28:28 +0800 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2024-04-24 16:45:56 +0800 |
commit | 48e49af7108b6e0d014a08650c41470f812e44bc (patch) | |
tree | 76ed09c62b96d63d02e838610d2e3d90c686024c /drivers/platform/chrome/cros_ec_sensorhub.c | |
parent | 0bbac3facb5d6cc0171c45c9873a2dc96bea9680 (diff) |
platform/chrome: wilco_ec: use sysfs_emit() instead of sprintf()
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: Ai Chao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tzung-Bi Shih <[email protected]>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_sensorhub.c')
0 files changed, 0 insertions, 0 deletions