As exynos-iommu driver is not a critical platform driver, it can be converted to loadable module, to avoid loading it on non-Exynos platforms in order to improve the RAM footprint. This patch series converts it to a module and does some related cleanups. IOMMU/DMA specifics were taken into the account, so remove/exit methods weren't added. Sam Protsenko (4): iommu: Export iommu_group_default_domain() API iommu/exynos: Fix retval on getting clocks in probe iommu/exynos: Modularize the driver iommu/exynos: Rearrange the platform driver code drivers/iommu/Kconfig | 2 +- drivers/iommu/exynos-iommu.c | 353 ++++++++++++++++++----------------- drivers/iommu/iommu.c | 1 + 3 files changed, 186 insertions(+), 170 deletions(-) -- 2.35.1