scsi: ufs: creates wrapper functions for vops
authorYaniv Gardi <ygardi@codeaurora.org>
Wed, 28 Oct 2015 11:15:48 +0000 (13:15 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
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 <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.c
drivers/scsi/ufs/ufshcd.h