[PATCH v1 0/3] scsi: ufs: Re-factor ufshcd_get_pwr_dev_param

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Stanley Chu <stanley.chu@xxxxxxxxxxxx>

Hello,

This series re-factors ufshcd_get_pwr_dev_param in vendors' drivers. This function is for vendors to decide finally agreed attributes for power mode change if vendors define
their host capability in struct ufs_dev_params. Because it is using by both ufs-qcom and ufs-hisi currently and may be used in other vendors in the future, simply re-factor it and then evevry vendors can reuse it.

Stanley Chu (3):
  scsi: ufs: Introduce ufshcd_get_pwr_dev_param
  scsi: ufs-qcom: Re-factor ufshcd_get_pwr_dev_param
  scsi: ufs-hisi: Re-factor ufshcd_get_pwr_dev_param

 drivers/scsi/ufs/ufs-hisi.c      | 109 ++-----------------------------
 drivers/scsi/ufs/ufs-qcom.c      | 106 ++----------------------------
 drivers/scsi/ufs/ufshcd-pltfrm.c |  98 +++++++++++++++++++++++++++
 drivers/scsi/ufs/ufshcd-pltfrm.h |  21 ++++++
 4 files changed, 127 insertions(+), 207 deletions(-)

-- 
2.18.0




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux