This patch absolutely needed. >Subject: [EXT] [PATCH v6 1/7] scsi: ufs: Introduce ufshcd_get_pwr_dev_param > >ufshcd_get_pwr_dev_param is for vendors to decide finally agreed attributes >for power mode change if vendors define their host capability in struct >ufs_dev_params. > >This api is using by both ufs-qcom and ufs-hisi now. Simply re-factor it and >then every vendors can reuse it. > >Signed-off-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx> >Reviewed-by: Avri Altman <avri.altman@xxxxxxx> Acked-by: Bean Huo <beanhuo@xxxxxxxxxx>