Re: [U-Boot] [PATCH v2 4/4] dm: usb: Rename usb_find_child to usb_find_emul_child

2015-07-07 Thread Simon Glass
On 3 July 2015 at 17:06, Simon Glass s...@chromium.org wrote: On 1 July 2015 at 12:53, Hans de Goede hdego...@redhat.com wrote: Now that we unbind usb devices from usb_stop() usb_find_child() is only necessary to deal with emulated usb devices. Rename it to make this clear and add a #ifdef to

Re: [U-Boot] [PATCH v2 4/4] dm: usb: Rename usb_find_child to usb_find_emul_child

2015-07-03 Thread Simon Glass
On 1 July 2015 at 12:53, Hans de Goede hdego...@redhat.com wrote: Now that we unbind usb devices from usb_stop() usb_find_child() is only necessary to deal with emulated usb devices. Rename it to make this clear and add a #ifdef to make it a nop in other cases. Note the #ifdef turns

[U-Boot] [PATCH v2 4/4] dm: usb: Rename usb_find_child to usb_find_emul_child

2015-07-01 Thread Hans de Goede
Now that we unbind usb devices from usb_stop() usb_find_child() is only necessary to deal with emulated usb devices. Rename it to make this clear and add a #ifdef to make it a nop in other cases. Note the #ifdef turns usb_find_emul_child() into a nop, rather then not building it and adding