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, 8 Apr 2022 12:06:39 +0000 (14:06 +0200)
commitb3e7f4fff89a3a30c40ce54ee77cb07ccf7febb4
tree61e3959166c57644ca26c83d529b0c47a38c9f3e
parentdd189d40ee51b9036a1c2ae5c715bac28edaa3c1
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