diff options
| author | Li Zhijian <[email protected]> | 2024-03-19 09:23:33 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2024-03-21 18:37:20 +0000 |
| commit | 763865fed8641920791580901a7dd1f100aa9452 (patch) | |
| tree | f7df75ff4642f938bf171f189214a16120e57c59 /rust/helpers.c | |
| parent | fbmon: prevent division by zero in fb_videomode_from_videomode() (diff) | |
| download | kernel-763865fed8641920791580901a7dd1f100aa9452.tar.gz kernel-763865fed8641920791580901a7dd1f100aa9452.zip | |
fbdev: panel-tpo-td043mtea1: Convert sprintf() to sysfs_emit()
Per filesystems/sysfs.rst, show() should only use sysfs_emit()
or sysfs_emit_at() when formatting the value to be returned to user space.
coccinelle complains that there are still a couple of functions that use
snprintf(). Convert them to sysfs_emit().
CC: Helge Deller <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]
Signed-off-by: Li Zhijian <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
