]> git.sur5r.net Git - u-boot/commit
usb: kbd: Do not treat -ENODEV as an error for usb_kbd_deregister
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Sep 2014 14:54:34 +0000 (16:54 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 12:50:42 +0000 (14:50 +0200)
commit0ea09dfe873657df47d83d5d4e0090bbf05c6abb
tree8263d4352cfb42072c03a07377564b4ee1a3f85c
parent9b2393812e2b844919ac601b893e6210d5eb6e2c
usb: kbd: Do not treat -ENODEV as an error for usb_kbd_deregister

ENODEV menas no usb keyboard was registered, threat this as a successful
usb_kbd_deregister.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
common/usb_kbd.c