]> git.baikalelectronics.ru Git - kernel.git/commit
HID: input: do not append a suffix if the name already has it
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 4 Sep 2018 13:31:13 +0000 (15:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 4 Sep 2018 19:32:24 +0000 (21:32 +0200)
commit28a6cafabfe06ee68f3e76f27cd4d04588aa49e9
tree051c42510ccaafc952deff200f010f7f1ceeb6f1
parent0c16f940e3facf61b309283392a81c000b8eea0a
HID: input: do not append a suffix if the name already has it

Or it creates some weird input names like:
"MI Dongle MI Wireless Mouse Mouse"

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c