diff options
author | Akhilesh Patil <akhilesh@ee.iitb.ac.in> | 2025-07-18 21:00:13 +0530 |
---|---|---|
committer | Jens Wiklander <jens.wiklander@linaro.org> | 2025-08-04 11:05:23 +0200 |
commit | 1faa0d62a19bb8a4b9022b603472e7127974cb55 (patch) | |
tree | 0427fbcc86d017d78b758b64d057d31129595a73 /rust/helpers/signal.c | |
parent | 038d61fd642278bab63ee8ef722c50d10ab01e8f (diff) |
drivers: tee: improve sysfs interface by using sysfs_emit()
Replace scnprintf() with sysfs_emit() while formatting buffer that is
passed to userspace as per the recommendation in
Documentation/filesystems/sysfs.rst. sysfs _show() callbacks should use
sysfs_emit() or sysfs_emit_at() while returning values to the userspace.
This change does not impact functionality, but aligns with sysfs
interface usage guidelines for the tee driver.
Signed-off-by: Akhilesh Patil <akhilesh@ee.iitb.ac.in>
Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions