Skip to content
Commit 4e6104b1 authored by ye xingchen's avatar ye xingchen Committed by Guenter Roeck
Browse files

hwmon: use sysfs_emit() to instead of scnprintf()



Replace the open-code with sysfs_emit() to simplify the code.

Signed-off-by: default avatarye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202212011130317080061@zte.com.cn


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 0cd3ba68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment