[PATCH v1] scsi: ufs: Re-factor ufshcd_get_pwr_dev_param

stanley.chu-NuS5LvNUpcJWk0Htik3J/w
2019-02-25T04:10:21Z

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.