iommu: Clean up of_iommu_init_fn
authorRobin Murphy <robin.murphy@arm.com>
Tue, 9 Jan 2018 16:17:27 +0000 (16:17 +0000)
committerJoerg Roedel <jroedel@suse.de>
Wed, 17 Jan 2018 14:25:50 +0000 (15:25 +0100)
commitb0c560f7d8a4b333bcc18f692d0af0d5cca90fe2
tree3d75ddff23241d48a2b4335a18fe827d6ba3b567
parente7747d88e05eabed6fd921c3636a9d1f5b4f754f
iommu: Clean up of_iommu_init_fn

Now that no more drivers rely on arbitrary early initialisation via an
of_iommu_init_fn hook, let's clean up the redundant remnants. The
IOMMU_OF_DECLARE() macro needs to remain for now, as the probe-deferral
mechanism has no other nice way to detect built-in drivers before they
have registered themselves, such that it can make the right decision.

Reviewed-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm-smmu-v3.c
drivers/iommu/arm-smmu.c
drivers/iommu/exynos-iommu.c
drivers/iommu/ipmmu-vmsa.c
drivers/iommu/msm_iommu.c
drivers/iommu/of_iommu.c
drivers/iommu/qcom_iommu.c
include/linux/of_iommu.h