uas: Add uas_get_tag() helper function
authorHans de Goede <hdegoede@redhat.com>
Sat, 13 Sep 2014 10:26:31 +0000 (12:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:42:10 +0000 (21:42 -0700)
commite0620001e4e318d85ebf43a95eec15fae26ed706
tree5e2cf98a193f99d3de3c7a5ddc52ea0e4c292963
parentb7b5d11fae766ee0e92821df2694c41f15f98954
uas: Add uas_get_tag() helper function

Factor out the mapping of scsi-tags -> uas-tags/stream-ids to a helper function
so that there is a single place where this "magic" happens.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/uas.c