video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
authorJing Yao <yao.jing2@zte.com.cn>
Thu, 4 Nov 2021 11:52:29 +0000 (11:52 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 11 Feb 2022 10:28:33 +0000 (11:28 +0100)
commit81a998288956d09d7a7a2303d47e4d60ad55c401
treec850b85f7452267d315ce147ba5cd188a18c9da6
parentc07a039cbb96748f54c02995bae8131cc9a73b0a
video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit

Use sysfs_emit instead of scnprintf, snprintf or sprintf.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Jing Yao <yao.jing2@zte.com.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/udlfb.c