| commit | 4f7ffdfb9928a70debc6b019a68a6e068745e937 | [log] [tgz] |
|---|---|---|
| author | Rahul Kumar <rk0006818@gmail.com> | Wed Oct 15 15:11:17 2025 +0530 |
| committer | Dinh Nguyen <dinguyen@kernel.org> | Thu Nov 13 06:32:58 2025 -0600 |
| tree | bf6866175c95d565292e9373369baffaa119fc70 | |
| parent | 15847537b623f844d9a08da99ff4568315e1d4f8 [diff] |
firmware: stratix10-rsu: replace scnprintf() with sysfs_emit() in *_show() functions Replace scnprintf() with sysfs_emit() in sysfs *_show() functions in stratix10-rsu.c to follow the kernel's guidelines from Documentation/filesystems/sysfs.rst. This improves consistency, safety, and makes the code easier to maintain and update in the future. Signed-off-by: Rahul Kumar <rk0006818@gmail.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>