Input: ims-pcu - use sysfs_emit() instead of scnprintf()
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 13 Dec 2023 06:21:11 +0000 (22:21 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Dec 2023 05:26:12 +0000 (21:26 -0800)
commit3e39104ba81dc8738c3706b55f737db5da4dbbfd
tree39b6f23aa86335f5fc4a7483b2476c53a465126f
parent8fbdb8fb36c68a00555a1a2593c6fff1244a65b3
Input: ims-pcu - 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/ims-pcu.c