iommu/exynos: Rework iommu group initialization
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 18 Feb 2016 14:12:48 +0000 (15:12 +0100)
committerJoerg Roedel <jroedel@suse.de>
Thu, 25 Feb 2016 14:32:08 +0000 (15:32 +0100)
commit6c2ae7e2916b028bd4c0fff04589bd176487a122
tree4e76d6838f98bb77ea13e6acfcf8959892570895
parent81f70ba233d5f660e1ea5fe23260ee323af5d53a
iommu/exynos: Rework iommu group initialization

This patch replaces custom code in add_device implementation with
iommu_group_get_for_dev() call and provides the needed callback.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c