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>
Fri, 15 Apr 2022 12:14:55 +0000 (14:14 +0200)
commitefeaa784ccea3347a583f20c533394b4137c5442
tree6f58a5f37fdc0e5dc3234379629d4ad9bd9ae0c9
parent98d01b47978c15317f170aa9c5dd6b4e5da091dc
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