summaryrefslogtreecommitdiff
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2025-07-23 19:58:51 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-07-24 22:37:30 -0400
commit28a60bbbe739c5c895d2d36d23c93045667b4566 (patch)
tree91ffe42a7896b5f45ef446bad8bbc61a6559c6f0 /rust/helpers/platform.c
parent6de7435e6b81fe52c0ab4c7e181f6b5decd18eb1 (diff)
scsi: ufs: ufs-pci: Remove UFS PCI driver's ->late_init() call back
->late_init() was introduced to allow the default values for rpm_lvl and spm_lvl to be set. Since commit bb9850704c04 ("scsi: ufs: core: Honor runtime/system PM levels if set by host controller drivers") and commit fe06b7c07f3f ("scsi: ufs: core: Set default runtime/system PM levels before ufshcd_hba_init()"), those default values can be set in the ->init() variant call back. Move the setting of default values for rpm_lvl and spm_lvl to ->init() and remove ->late_init(). Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20250723165856.145750-4-adrian.hunter@intel.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions