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)
commit9dedc915937c33302df7fcab01c45e7936d6195a
tree6745cdbac98a7b1be0598cf83f7c1b3db5014f87
parent2b7672b0fa0b833312aef5a366a741921af3634f
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