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 09:49:05 +0000 (11:49 +0200)
commit689bee9eb02a20bc1746ef43b6e76bbb3bc1e7ee
treee3782f7a16eb995382a4e0b8a68d52079c05071e
parentf6b2fb80ffdc1509686eec9914a7a7d212bf1069
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