summaryrefslogtreecommitdiff
path: root/Documentation/target
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-12-06 11:14:08 +0800
committerSebastian Reichel <sre@kernel.org>2023-01-02 08:54:07 +0100
commit35aa06286c0927a8444d851d6a1f2603e3dc9229 (patch)
treeb0b4edabc96d498a54d72badf0eda1bc6eb26055 /Documentation/target
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
power: supply: use sysfs_emit() instead of scnprintf() for sysfs show()
As documented in Documentation/filesystems/sysfs.rst the sysfs show() function should use sysfs_emit() or sysfs_emit_at() to format the userspace return value. This replaces all instances of scnprintf() with sysfs_emit() in the power-supply subsystem. Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> [reword commit message] Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/target')
0 files changed, 0 insertions, 0 deletions