Skip to content
Snippets Groups Projects
Commit d47e983e authored by Qing Wang's avatar Qing Wang Committed by Rafael J. Wysocki
Browse files

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: default avatarQing Wang <wangqing@vivo.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 5771e582
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment