Input: mouse - use sysfs_emit[_at]() instead of scnprintf()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 13 Dec 2023 06:12:01 +0000 (22:12 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Dec 2023 05:26:11 +0000 (21:26 -0800)
commit1864a2006ee1e41960b63ca63aa79fabb690e71b
tree4796bb6a81a0f5fc9987677e56ccabc65283acd3
parentd4db8762dc4c364dce89901ed4690588ad310bfc
Input: mouse - use sysfs_emit[_at]() instead of scnprintf()

Replace the calls to various *printf() functions with sysfs_emit() to
simplify the code.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/202212021453578171100@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa.c
drivers/input/mouse/cyapa_gen3.c
drivers/input/mouse/cyapa_gen5.c
drivers/input/mouse/cyapa_gen6.c
drivers/input/mouse/elan_i2c_core.c