Input: synaptics-rmi4 - use sysfs_emit() to instead of scnprintf()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 13 Dec 2023 06:31:44 +0000 (22:31 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Dec 2023 05:26:12 +0000 (21:26 -0800)
commit8fbdb8fb36c68a00555a1a2593c6fff1244a65b3
tree6baab623552451c6705ede490078f2aa512736f9
parente50389f208daf1d60810e789b8860063e3256693
Input: synaptics-rmi4 - use sysfs_emit() to 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/202212011551429834598@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f01.c