HID: logitech-hidpp: ignore very-short or empty names
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Apr 2019 11:22:06 +0000 (13:22 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 23 Apr 2019 16:02:43 +0000 (18:02 +0200)
commit22bf6bdef4a1d551fdaebbe8247e57569ea07b6a
treedb4cc1cbdfc62cb5bf688cc83491d95535b43510
parent91cf9a98ae4127551d022e287e283bcd8738ed02
HID: logitech-hidpp: ignore very-short or empty names

Some devices report an empty or very short name, in this case stick
with the name generated by the logitech-dj code instead of overriding it
with e.g. "Logitech ".

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-hidpp.c