Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/usb/host/
H A Dusb-uclass.cf78a5c0774da9ca1702df453f974f022580552f4 Tue May 05 09:54:31 UTC 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>
/rk3399_rockchip-uboot/include/
H A Dusb.hf78a5c0774da9ca1702df453f974f022580552f4 Tue May 05 09:54:31 UTC 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>