summaryrefslogtreecommitdiff
path: root/drivers/ufs/host/tc-dwc-g210-pltfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ufs/host/tc-dwc-g210-pltfrm.c')
-rw-r--r--drivers/ufs/host/tc-dwc-g210-pltfrm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ufs/host/tc-dwc-g210-pltfrm.c b/drivers/ufs/host/tc-dwc-g210-pltfrm.c
index 9bfaa36cc898..454ac88c357d 100644
--- a/drivers/ufs/host/tc-dwc-g210-pltfrm.c
+++ b/drivers/ufs/host/tc-dwc-g210-pltfrm.c
@@ -76,10 +76,7 @@ static int tc_dwc_g210_pltfm_probe(struct platform_device *pdev)
*/
static void tc_dwc_g210_pltfm_remove(struct platform_device *pdev)
{
- struct ufs_hba *hba = platform_get_drvdata(pdev);
-
- pm_runtime_get_sync(&(pdev)->dev);
- ufshcd_remove(hba);
+ ufshcd_pltfrm_remove(pdev);
}
static const struct dev_pm_ops tc_dwc_g210_pltfm_pm_ops = {