]> git.baikalelectronics.ru Git - kernel.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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 27 Sep 2022 16:00:41 +0000 (09:00 -0700)
commitd4423a46ea656a45087f07f3d080175b3415540f
tree6745cdbac98a7b1be0598cf83f7c1b3db5014f87
parentfef7defd5648839245df06b607a6ca7fffd9062f
Input: synaptics-rmi4 - convert to use sysfs_emit() APIs

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>
drivers/input/rmi4/rmi_f34.c