OpenCloudOS-Kernel/drivers/video/fbdev/omap2/omapfb
Qing Wang cc83ff247b video: omapfb: replace snprintf in show functions with sysfs_emit
coccicheck complains about the use of snprintf() in sysfs show functions.

Fix the coccicheck warning:
WARNING: use scnprintf or sprintf.

Use sysfs_emit instead of scnprintf or sprintf makes more sense.

Signed-off-by: Qing Wang <wangqing@vivo.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1634095693-4428-1-git-send-email-wangqing@vivo.com
2021-10-15 22:52:10 +02:00
..
displays - New Functionality 2021-02-22 09:27:18 -08:00
dss video: omapfb: replace snprintf in show functions with sysfs_emit 2021-10-15 22:52:10 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile omapfb: rename omap2 module to omap2fb.ko 2018-07-24 19:11:27 +02:00
omapfb-ioctl.c fbdev: Use fallthrough pseudo-keyword 2020-08-03 21:38:37 +02:00
omapfb-main.c fbdev: Use fallthrough pseudo-keyword 2020-08-03 21:38:37 +02:00
omapfb-sysfs.c video: omapfb: replace snprintf in show functions with sysfs_emit 2021-10-15 22:52:10 +02:00
omapfb.h fbdev: omapfb: avoid -Wempty-body warning 2021-03-22 15:02:14 +01:00
vrfb.c fbdev: omapfb: use devm_platform_ioremap_resource() to simplify code 2020-01-03 14:27:44 +01:00