summaryrefslogtreecommitdiff
path: root/drivers/power/supply/mp2629_charger.c
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-12-06 06:14:08 +0300
committerSebastian Reichel <sre@kernel.org>2023-01-02 10:54:07 +0300
commit35aa06286c0927a8444d851d6a1f2603e3dc9229 (patch)
treeb0b4edabc96d498a54d72badf0eda1bc6eb26055 /drivers/power/supply/mp2629_charger.c
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-35aa06286c0927a8444d851d6a1f2603e3dc9229.tar.xz
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 'drivers/power/supply/mp2629_charger.c')
0 files changed, 0 insertions, 0 deletions