]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: synaptics-rmi4 - convert to use sysfs_emit() APIs
authorzhang songyi <zhang.songyi@zte.com.cn>
Tue, 27 Sep 2022 15:56:06 +0000 (08:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:18 +0000 (11:05 +0100)
commit17e5ca8ef81cdb9f042cc7b057355200103711fb
tree3a83be74509c66f74db5013bafa617663224196a
parentef0c767a559b827b250951a8802d9c4d94cf4ff7
Input: synaptics-rmi4 - convert to use sysfs_emit() APIs

[ Upstream commit 9dedc915937c33302df7fcab01c45e7936d6195a ]

Follow the advice of the Documentation/filesystems/sysfs.rst and show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the value
to be returned to user space.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn>
Link: https://lore.kernel.org/r/20220927070936.258300-1-zhang.songyi@zte.com.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Stable-dep-of: ca39500f6af9 ("Input: synaptics-rmi - fix crash with unsupported versions of F34")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/rmi4/rmi_f34.c