> > From: Stanley Chu <stanley.chu@xxxxxxxxxxxx> > > 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>