diff options
| author | Nguyen Dinh Phi <phind.uet@gmail.com> | 2021-05-13 05:46:50 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-07-22 14:01:56 +0200 |
| commit | 2c08a018f0d5f3902d4e1cbf99e3858477ac0515 (patch) | |
| tree | 9620e9bbf498726cd41332ee485509cdbfc3f344 /lib/mpi/mpiutil.c | |
| parent | 6b6d22831331434b6a1b5b557bc235ca9df420e0 (diff) | |
media: atomisp: Use sysfs_emit() instead of sprintf() where appropriate
sysfs_emit() is preferred over raw sprintf() for sysfs attributes since it
knows about the sysfs buffer specifics and has some built-in sanity checks.
Link: https://lore.kernel.org/linux-media/20210513034650.252993-1-phind.uet@gmail.com
Signed-off-by: Nguyen Dinh Phi <phind.uet@gmail.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
