diff options
author | ye xingchen <ye.xingchen@zte.com.cn> | 2023-12-13 07:37:16 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-12-14 06:26:11 +0100 |
commit | d4db8762dc4c364dce89901ed4690588ad310bfc (patch) | |
tree | 7818ae14a5a20b9c91d18a26c13f26cacc47ee2d /drivers/input/mouse | |
parent | Input: max77693-haptic - add device-tree compatible strings (diff) | |
download | linux-d4db8762dc4c364dce89901ed4690588ad310bfc.tar.xz linux-d4db8762dc4c364dce89901ed4690588ad310bfc.zip |
Input: use sysfs_emit() instead of scnprintf()
Replace calls to scnprintf() in the methods showing device attributes
with sysfs_emit() to simplify the code.
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202212021133398847947@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse')
0 files changed, 0 insertions, 0 deletions