OpenCloudOS-Kernel/drivers/media/i2c/ccs
Qing Wang 2a99839240 media: i2c: ccs: replace snprintf in show functions with sysfs_emit
show() should not use snprintf() when formatting the value to be
returned to user space.

Fix the following coccicheck warning:
drivers/media/i2c/ccs/ccs-core.c:3761: WARNING: use scnprintf or sprintf.

Signed-off-by: Qing Wang <wangqing@vivo.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-11-15 08:11:34 +00:00
..
Kconfig media: smiapp-pll: Rename as ccs-pll 2020-12-03 12:27:31 +01:00
Makefile media: ccs: Add CCS static data parser library 2020-12-03 12:27:28 +01:00
ccs-core.c media: i2c: ccs: replace snprintf in show functions with sysfs_emit 2021-11-15 08:11:34 +00:00
ccs-data-defs.h media: ccs: Add CCS static data parser library 2020-12-03 12:27:28 +01:00
ccs-data.c Linux 5.11-rc6 2021-02-01 10:03:45 +01:00
ccs-data.h media: i2c/ccs: fix kernel-doc header issues 2021-04-06 14:32:19 +02:00
ccs-limits.c media: ccs: Fix the op_pll_multiplier address 2021-06-02 11:51:20 +02:00
ccs-limits.h media: ccs: Fix the op_pll_multiplier address 2021-06-02 11:51:20 +02:00
ccs-quirk.c media: ccs-pll: Add support for decoupled OP domain calculation 2020-12-07 15:53:34 +01:00
ccs-quirk.h media: i2c/ccs: fix kernel-doc header issues 2021-04-06 14:32:19 +02:00
ccs-reg-access.c media: ccs: Switch from standard integer types to kernel ones 2021-01-12 17:56:00 +01:00
ccs-reg-access.h media: ccs: Add support for manufacturer regs from sensor and module files 2020-12-03 12:27:32 +01:00
ccs-regs.h media: ccs: Fix the op_pll_multiplier address 2021-06-02 11:51:20 +02:00
ccs.h media: ccs: Switch from standard integer types to kernel ones 2021-01-12 17:56:00 +01:00
smiapp-reg-defs.h media: ccs: Add support for old-style SMIA digital gain 2021-01-12 17:24:07 +01:00