OpenCloudOS-Kernel/drivers/video/fbdev/omap2/omapfb/dss
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
..
Kconfig video: fbdev: Replace HTTP links with HTTPS ones 2020-07-20 11:47:29 +02:00
Makefile video: fbdev: omap2: remove rfbi 2019-06-21 15:13:14 +02:00
apply.c fbdev/omap2: use DEFINE_SPINLOCK() instead of spin_lock_init(). 2021-06-17 19:43:42 +02:00
core.c fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
dispc-compat.c omapfb: fbcon: remove trailing semicolon in macro definition 2020-11-29 22:53:33 +01:00
dispc-compat.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
dispc.c fbdev: Use fallthrough pseudo-keyword 2020-08-03 21:38:37 +02:00
dispc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
dispc_coefs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
display-sysfs.c video: omapfb: replace snprintf in show functions with sysfs_emit 2021-10-15 22:52:10 +02:00
display.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
dpi.c backlight/video: Use Platform getter/setter functions 2021-02-12 10:01:45 +00:00
dsi.c drm-misc-next for 5.13: 2021-03-16 17:08:46 +10:00
dss-of.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
dss.c omapfb: dss: Fix max fclk divider for omap36xx 2020-07-10 16:17:26 +02:00
dss.h omapfb: Remove unused writeback code 2020-03-20 14:29:13 +01:00
dss_features.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
dss_features.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
hdmi.h video: fbdev: Replace HTTP links with HTTPS ones 2020-07-20 11:47:29 +02:00
hdmi4.c backlight/video: Use Platform getter/setter functions 2021-02-12 10:01:45 +00:00
hdmi4_core.c video: fbdev: omapfb: Fix set but not used warnings in hdmi*_core 2020-12-08 18:33:28 +01:00
hdmi4_core.h video: fbdev: Replace HTTP links with HTTPS ones 2020-07-20 11:47:29 +02:00
hdmi5.c backlight/video: Use Platform getter/setter functions 2021-02-12 10:01:45 +00:00
hdmi5_core.c video: fbdev: omapfb: Fix set but not used warnings in hdmi*_core 2020-12-08 18:33:28 +01:00
hdmi5_core.h video: fbdev: Replace HTTP links with HTTPS ones 2020-07-20 11:47:29 +02:00
hdmi_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdmi_phy.c omapfb: use devm_platform_ioremap_resource_byname 2020-10-16 23:55:27 +02:00
hdmi_pll.c omapfb: use devm_platform_ioremap_resource_byname 2020-10-16 23:55:27 +02:00
hdmi_wp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
manager-sysfs.c video: omapfb: replace snprintf in show functions with sysfs_emit 2021-10-15 22:52:10 +02:00
manager.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
omapdss-boot-init.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
output.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
overlay-sysfs.c video: omapfb: replace snprintf in show functions with sysfs_emit 2021-10-15 22:52:10 +02:00
overlay.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
pll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
sdi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00
venc.c omapfb/dss: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare 2020-10-16 11:50:16 +02:00
video-pll.c omapfb: use devm_platform_ioremap_resource_byname 2020-10-16 23:55:27 +02:00