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>
Showing
- drivers/ufs/core/ufshcd.c 5 additions, 18 deletionsdrivers/ufs/core/ufshcd.c
- drivers/ufs/host/cdns-pltfrm.c 0 additions, 1 deletiondrivers/ufs/host/cdns-pltfrm.c
- drivers/ufs/host/tc-dwc-g210-pci.c 0 additions, 10 deletionsdrivers/ufs/host/tc-dwc-g210-pci.c
- drivers/ufs/host/tc-dwc-g210-pltfrm.c 0 additions, 1 deletiondrivers/ufs/host/tc-dwc-g210-pltfrm.c
- drivers/ufs/host/ufs-exynos.c 0 additions, 1 deletiondrivers/ufs/host/ufs-exynos.c
- drivers/ufs/host/ufs-hisi.c 0 additions, 1 deletiondrivers/ufs/host/ufs-hisi.c
- drivers/ufs/host/ufs-mediatek.c 0 additions, 1 deletiondrivers/ufs/host/ufs-mediatek.c
- drivers/ufs/host/ufs-qcom.c 0 additions, 1 deletiondrivers/ufs/host/ufs-qcom.c
- drivers/ufs/host/ufs-sprd.c 0 additions, 1 deletiondrivers/ufs/host/ufs-sprd.c
- drivers/ufs/host/ufshcd-pci.c 0 additions, 10 deletionsdrivers/ufs/host/ufshcd-pci.c
- drivers/ufs/host/ufshcd-pltfrm.c 0 additions, 6 deletionsdrivers/ufs/host/ufshcd-pltfrm.c
- drivers/ufs/host/ufshcd-pltfrm.h 0 additions, 1 deletiondrivers/ufs/host/ufshcd-pltfrm.h
- include/ufs/ufshcd.h 0 additions, 1 deletioninclude/ufs/ufshcd.h
Loading
Please register or sign in to comment