On Thu, Feb 26, 2026 at 07:48:58AM +0000, Ruslan Valiyev wrote:
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
Thanks!
Reviewed-by: Dan Carpenter dan.carpenter@linaro.org
regards, dan carpenter