]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
authorJing Yao <yao.jing2@zte.com.cn>
Fri, 5 Nov 2021 08:20:44 +0000 (08:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:08:23 +0000 (09:08 +0200)
commita131063223a4bada7e19f0abb9643c8eb41e1bdb
treebf1177b747b5dd6ee1e15da0c0e73df160f9fabc
parentf419488df057957cc2e965ba3686ff408788403e
video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()

[ Upstream commit c07a039cbb96748f54c02995bae8131cc9a73b0a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c