diff options
| author | Ruslan Valiyev <linuxoid@gmail.com> | 2026-02-26 07:48:58 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-09 17:02:59 +0100 |
| commit | 7b6f321f6967f9d224b7c1f19f5efa98a0e2099b (patch) | |
| tree | 060c69eb53780dedebd15e85410ffdbd5c3a80bc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1f659f1cdf85601a19b64b5245b12f015606f189 (diff) | |
staging: greybus: arche: use sysfs_emit() instead of sprintf()
Replace sprintf() with sysfs_emit() in state_show() sysfs attribute
callbacks in arche-platform.c and arche-apb-ctrl.c.
Checkpatch complains about code using sprintf(). This code here is
obviously safe as-is, but it would be more appropriate to use
sysfs_emit().
Signed-off-by: Ruslan Valiyev <linuxoid@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/20260226074858.67635-1-linuxoid@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
