scsi: ufs: add ufshcd_get_variant ufshcd_set_variant
authorYaniv Gardi <ygardi@codeaurora.org>
Wed, 28 Oct 2015 11:15:47 +0000 (13:15 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 22:47:40 +0000 (17:47 -0500)
commit1ce5898af55e23e933f6a68d102d4be730e9b503
treee3b94ae7ea55320882c5072abdc7ce75d73be4af
parent9bac5db4b229977054c9936e859dc41e1cd64c59
scsi: ufs: add ufshcd_get_variant ufshcd_set_variant

This patch adds ufshcd_get_variant() and ufshcd_set_variant()
routines in order to get/set the variant specific data.

Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-qcom.c
drivers/scsi/ufs/ufshcd.h