commit | d47e983e4f612856c860ae04db054ebcf4a333c3 | [log] [tgz] |
---|---|---|
author | Qing Wang <wangqing@vivo.com> | Tue Oct 12 20:24:50 2021 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Oct 13 20:02:18 2021 +0200 |
tree | f6ca4bec83a2236f7cafc8c755f4d65c5a30c659 | |
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>