diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2021-04-07 09:55:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-09 16:00:00 +0200 |
commit | b433c4c789d612cf58739a772bbddbd949bafd20 (patch) | |
tree | 6c500a26a62578af2a5d65064680f142d2dc788b /drivers/counter | |
parent | 63cd78617350dae99cc5fbd8f643b83ee819fe33 (diff) |
usb: Iterator for ports
Introducing usb_for_each_port(). It works the same way as
usb_for_each_dev(), but instead of going through every USB
device in the system, it walks through the USB ports in the
system.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20210407065555.88110-4-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/counter')
0 files changed, 0 insertions, 0 deletions