usb-core: Make usb_free_streams return an error
authorHans de Goede <hdegoede@redhat.com>
Fri, 30 Aug 2013 12:03:59 +0000 (14:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Sep 2013 16:49:24 +0000 (09:49 -0700)
commit6c74dada4f5a37037dee1da6a8a7aeb56c558bca
tree52879fa53c1e265f994e6596a275c6bb31548132
parent37c3a3c4ffde23115c58bec7694082b3a44c6da5
usb-core: Make usb_free_streams return an error

The hcd-driver free_streams method can return an error, so lets properly
propagate that.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c
include/linux/usb.h