diff options
author | Xu Panda <xu.panda@zte.com.cn> | 2022-11-09 14:25:25 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-11-10 20:24:49 +0100 |
commit | 82d08d61e3a87527842392484e2d54c2aeb5fbb8 (patch) | |
tree | 9097c527c17b86f3e62f157a7a199357de69f69d /scripts/modules-check.sh | |
parent | ACPI: sysfs: Use kstrtobool() instead of strtobool() (diff) | |
download | linux-82d08d61e3a87527842392484e2d54c2aeb5fbb8.tar.xz linux-82d08d61e3a87527842392484e2d54c2aeb5fbb8.zip |
ACPI: sysfs: use sysfs_emit() to instead of scnprintf()
Replace scnprintf() with sysfs_emit() to simplify the code.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Xu Panda <xu.panda@zte.com.cn>
Signed-off-by: Yang Yang <yang.yang29@zte.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/modules-check.sh')
0 files changed, 0 insertions, 0 deletions