diff options
author | 2023-05-24 13:36:22 -0700 | |
---|---|---|
committer | 2023-05-31 20:35:01 -0400 | |
commit | 0818a6903c8081a17da4b1f50ff156537f99b02f (patch) | |
tree | 0b3447dd83fc744715bd45cbc8859b0ad0efb1d8 /include/ufs/ufshcd.h | |
parent | scsi: ufs: core: Move ufshcd_wl_shutdown() (diff) | |
download | linux-0818a6903c8081a17da4b1f50ff156537f99b02f.tar.gz linux-0818a6903c8081a17da4b1f50ff156537f99b02f.tar.bz2 linux-0818a6903c8081a17da4b1f50ff156537f99b02f.zip |
scsi: ufs: core: Simplify driver shutdown
All UFS host drivers call ufshcd_shutdown(). Hence, instead of calling
ufshcd_shutdown() from the host driver .shutdown() callback, inline that
function into ufshcd_wl_shutdown().
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230524203659.1394307-5-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs/ufshcd.h')
-rw-r--r-- | include/ufs/ufshcd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h index f7553293ba98..db2e669985d5 100644 --- a/include/ufs/ufshcd.h +++ b/include/ufs/ufshcd.h @@ -1277,7 +1277,6 @@ extern int ufshcd_system_freeze(struct device *dev); extern int ufshcd_system_thaw(struct device *dev); extern int ufshcd_system_restore(struct device *dev); #endif -extern int ufshcd_shutdown(struct ufs_hba *hba); extern int ufshcd_dme_configure_adapt(struct ufs_hba *hba, int agreed_gear, |