iommu/rockchip: correct pm runtime when remove device

Change-Id: Ib4d2e80c3fcbe614973fa5e6cb64b4d15c7db3e0
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
This commit is contained in:
Jacob Chen
2017-01-05 11:40:29 +08:00
committed by Huang, Tao
parent 090133baa3
commit cce453c22d

View File

@@ -1216,7 +1216,7 @@ static int rk_iommu_probe(struct platform_device *pdev)
static int rk_iommu_remove(struct platform_device *pdev)
{
pm_runtime_put(&pdev->dev);
pm_runtime_disable(&pdev->dev);
return 0;
}