iommu/exynos: Rework runtime PM links management
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 15 Sep 2017 11:05:08 +0000 (13:05 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:55:59 +0000 (14:55 +0900)
commitf15ce1439364a12a98d65aaef15c61ad5522d244
treef9f9e91f20b6a79e4e2de9da77883c9bed9f82bf
parent1557a3b4d046c7fe28d0aa789d8948a20c44c8c9
iommu/exynos: Rework runtime PM links management

add_device is a bit more suitable for establishing runtime PM links than
the xlate callback. This change also makes it possible to implement proper
cleanup - in remove_device callback.

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