commit | 2138fd6d5d358bcfef6631300763c16a70f2af3d | [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 | e8009beff6d5c55c1bf1ae8184791f167e6378b0 [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>