Skip to content
Commit 82d08d61 authored by Xu Panda's avatar Xu Panda Committed by Rafael J. Wysocki
Browse files

ACPI: sysfs: use sysfs_emit() to instead of scnprintf()



Replace scnprintf() with sysfs_emit() to simplify the code.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarXu Panda <xu.panda@zte.com.cn>
Signed-off-by: default avatarYang Yang <yang.yang29@zte.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 4612c7f1
Loading
Loading
Loading
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