]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
authorYang Guang <yang.guang5@zte.com.cn>
Tue, 30 Nov 2021 00:06:03 +0000 (08:06 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:58:30 +0000 (11:58 +0200)
commitfaebb10abeff379d0ce5bcaae23f00a1094e360b
tree5afd2389d466dd13188155d65a03bd500cbe5983
parent2e5d23a35ee53313bf73cba8808f046c8b0fced8
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>
drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c