diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-05-24 23:36:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-06-01 03:35:01 +0300 |
commit | 0818a6903c8081a17da4b1f50ff156537f99b02f (patch) | |
tree | 0b3447dd83fc744715bd45cbc8859b0ad0efb1d8 /drivers/ufs/host/ufs-sprd.c | |
parent | b251f6c5fe3b57898896df06a5cf90865596ee5e (diff) | |
download | linux-0818a6903c8081a17da4b1f50ff156537f99b02f.tar.xz |
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 'drivers/ufs/host/ufs-sprd.c')
-rw-r--r-- | drivers/ufs/host/ufs-sprd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ufs/host/ufs-sprd.c b/drivers/ufs/host/ufs-sprd.c index 051f3f40d92c..2bad75dd6d58 100644 --- a/drivers/ufs/host/ufs-sprd.c +++ b/drivers/ufs/host/ufs-sprd.c @@ -444,7 +444,6 @@ static const struct dev_pm_ops ufs_sprd_pm_ops = { static struct platform_driver ufs_sprd_pltform = { .probe = ufs_sprd_probe, .remove = ufs_sprd_remove, - .shutdown = ufshcd_pltfrm_shutdown, .driver = { .name = "ufshcd-sprd", .pm = &ufs_sprd_pm_ops, |