leds: use sysfs_emit() to instead of scnprintf()
Replace the open-code with sysfs_emit() to simplify the code. Signed-off-by:ye xingchen <ye.xingchen@zte.com.cn> Signed-off-by:
Pavel Machek <pavel@ucw.cz>
Showing
Please register or sign in to comment