Input: psmouse - add a newline when printing 'proto' by sysfs
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Wed, 22 Jul 2020 05:24:07 +0000 (22:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 08:29:04 +0000 (10:29 +0200)
commit609e9302f163f4c516d1cf722006aa46bea5d147
tree107c88cedd97b05bc928f5f7d484b1628b3afc99
parent0bd77f37daf707706ebe5c98f1744c317e71540a
Input: psmouse - add a newline when printing 'proto' by sysfs

[ Upstream commit 4aec14de3a15cf9789a0e19c847f164776f49473 ]

When I cat parameter 'proto' by sysfs, it displays as follows. It's
better to add a newline for easy reading.

root@syzkaller:~# cat /sys/module/psmouse/parameters/proto
autoroot@syzkaller:~#

Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Link: https://lore.kernel.org/r/20200720073846.120724-1-wangxiongfeng2@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/mouse/psmouse-base.c