Home
last modified time | relevance | path

Searched hist:f78a5c0774da9ca1702df453f974f022580552f4 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/usb/host/
H A Dusb-uclass.cdiff f78a5c0774da9ca1702df453f974f022580552f4 Tue May 05 04:54:31 CDT 2015 Hans de Goede <hdegoede@redhat.com> dm: usb: Make usb_get_bus easier to use for callers

Make usb_get_bus easier to use for callers, by directly returning the bus
rather then returning it via a pass-by-ref argument.

This also removes the error checking from the current callers, as
we already have an assert() for bus not being NULL in usb_get_bus().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
/openbmc/u-boot/include/
H A Dusb.hdiff f78a5c0774da9ca1702df453f974f022580552f4 Tue May 05 04:54:31 CDT 2015 Hans de Goede <hdegoede@redhat.com> dm: usb: Make usb_get_bus easier to use for callers

Make usb_get_bus easier to use for callers, by directly returning the bus
rather then returning it via a pass-by-ref argument.

This also removes the error checking from the current callers, as
we already have an assert() for bus not being NULL in usb_get_bus().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>