scsi: ufs: creates wrapper functions for vops
authorYaniv Gardi <[email protected]>
Wed, 28 Oct 2015 11:15:48 +0000 (13:15 +0200)
committerMartin K. Petersen <[email protected]>
Mon, 9 Nov 2015 22:48:33 +0000 (17:48 -0500)
commit0263bcd0e8319642440fa29c184b0d7f4b2d5857
tree21cc0948c93bee38b54a77b70b2398e647b034bb
parent1ce5898af55e23e933f6a68d102d4be730e9b503
scsi: ufs: creates wrapper functions for vops

In order to simplify the code a set of wrapper functions is created
to test and call each of the variant operations.

Reviewed-by: Akinobu Mita <[email protected]>
Reviewed-by: Subhash Jadavani <[email protected]>
Reviewed-by: Gilad Broner <[email protected]>
Signed-off-by: Yaniv Gardi <[email protected]>
Tested-by: Alim Akhtar <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/ufs/ufs-qcom.c
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h