scsi_dh_alua: use scsi_vpd_tpg_id()
authorHannes Reinecke <hare@suse.de>
Tue, 1 Dec 2015 09:16:58 +0000 (10:16 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Dec 2015 21:59:01 +0000 (16:59 -0500)
commit83ea0e5e3501decac0afdff25bba2ca1e78f79cc
treebdeced2359c11d6c615f81f3272ef4834d8896bd
parenta8aa3978588a4fa2d9edabc151adedd97bbed091
scsi_dh_alua: use scsi_vpd_tpg_id()

Use the common function 'scsi_vpd_tpg_id()' instead of open-coding
it in scsi_dh_alua.

[mkp: Applied by hand]

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/device_handler/scsi_dh_alua.c