diff options
author | Qing Wang <wangqing@vivo.com> | 2021-10-12 20:24:50 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-10-13 20:02:18 +0200 |
commit | d47e983e4f612856c860ae04db054ebcf4a333c3 (patch) | |
tree | f6ca4bec83a2236f7cafc8c755f4d65c5a30c659 /arch | |
parent | 5771e582d79258333a1cf817db999f58384e5685 (diff) |
ACPI: replace snprintf() in "show" functions with sysfs_emit()
coccicheck complains about the use of snprintf() in sysfs "show"
functions:
Fix the coccicheck warning:
WARNING: use scnprintf or sprintf.
so use sysfs_emit() instead of it where applicable.
Signed-off-by: Qing Wang <wangqing@vivo.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions