commit | f4451d9dfd7a51b311477d84ceb4d5b5e6eb1605 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jul 03 20:22:04 2016 +0200 |
committer | Marek Vasut <marex@denx.de> | Tue Jul 05 14:14:11 2016 +0200 |
tree | 8d2d9b908a697d1c479988ec05d4f35f06201093 | |
parent | 98f70773f8158436fcf873c6926cdd47f046ef21 [diff] |
usb: dm: Add a usb_for_each_root_dev() helper function Iterating over usb-root devs and doing something for all of them is a bit tricky with dm, factor out the proven usb_show_tree() for this into a helper function. Signed-off-by: Hans de Goede <hdegoede@redhat.com>