Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7377911 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "iommu/arm-smmu-v3: Implement shutdown method"" into msm-4.14

parents 6c2c2bb3 35153078
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -2861,15 +2861,9 @@ static int arm_smmu_device_remove(struct platform_device *pdev)
	struct arm_smmu_device *smmu = platform_get_drvdata(pdev);

	arm_smmu_device_disable(smmu);

	return 0;
}

static void arm_smmu_device_shutdown(struct platform_device *pdev)
{
	arm_smmu_device_remove(pdev);
}

static const struct of_device_id arm_smmu_of_match[] = {
	{ .compatible = "arm,smmu-v3", },
	{ },
@@ -2883,7 +2877,6 @@ static struct platform_driver arm_smmu_driver = {
	},
	.probe	= arm_smmu_device_probe,
	.remove	= arm_smmu_device_remove,
	.shutdown = arm_smmu_device_shutdown,
};
module_platform_driver(arm_smmu_driver);

+0 −6
Original line number Diff line number Diff line
@@ -4346,11 +4346,6 @@ static int arm_smmu_device_remove(struct platform_device *pdev)
	return 0;
}

static void arm_smmu_device_shutdown(struct platform_device *pdev)
{
	arm_smmu_device_remove(pdev);
}

static int __maybe_unused arm_smmu_pm_resume(struct device *dev)
{
	struct arm_smmu_device *smmu = dev_get_drvdata(dev);
@@ -4369,7 +4364,6 @@ static struct platform_driver arm_smmu_driver = {
	},
	.probe	= arm_smmu_device_dt_probe,
	.remove	= arm_smmu_device_remove,
	.shutdown = arm_smmu_device_shutdown,
};

static struct platform_driver qsmmuv500_tbu_driver;