Input: iqs269a - use sysfs_emit() instead of scnprintf()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 13 Dec 2023 06:28:54 +0000 (22:28 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Dec 2023 05:26:12 +0000 (21:26 -0800)
commit7c73226525702e89aad9fe4c4683826ed5e24361
treebc41288892c63ad7eae9593aa02c6b7fb77338e2
parent3e39104ba81dc8738c3706b55f737db5da4dbbfd
Input: iqs269a - 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/202212011548387254492@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/iqs269a.c