video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit
24565bc4115961db7ee64fcc7ad2a7437c0d0a49 ]
coccinelle report:
./drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c:
479:9-17: WARNING: use scnprintf or sprintf
Use sysfs_emit instead of scnprintf or sprintf makes more sense.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Yang Guang <yang.guang5@zte.com.cn>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit
52179601881542ada7d7ffa28119887430b60cd4)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>