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-23 09:04:02 +0200 |
| commit | e53656ab8c806b26f85238af341d93e6792d1ee6 (patch) | |
| tree | 9620e9bbf498726cd41332ee485509cdbfc3f344 /net/lapb/lapb_iface.c | |
| parent | 66b22424ad271d762948da0fda55b21d08327029 (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 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
