diff options
author | Bean Huo | 2020-01-20 14:08:16 +0100 |
---|---|---|
committer | Martin K. Petersen | 2020-01-20 19:16:10 -0500 |
commit | 2b35b2adfecd456c98b9828e03900e7be9f1b33d (patch) | |
tree | feab4ab72c70021476c00c9e10b3398a98be5c3f /drivers/scsi/ipr.c | |
parent | 1b9e21412f72d6f89e2bcc5f24b5e9a010c8a74f (diff) |
scsi: ufs: Move ufshcd_get_max_pwr_mode() to ufshcd_device_params_init()
ufshcd_get_max_pwr_mode() only need to be called once while booting, take
it out from ufshcd_probe_hba() and inline into ufshcd_device_params_init().
Link: https://lore.kernel.org/r/20200120130820.1737-5-huobean@gmail.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions