iommu/exynos: Rework runtime PM links management
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 15 Sep 2017 11:05:08 +0000 (13:05 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 19 Sep 2017 12:48:01 +0000 (14:48 +0200)
commit7a974b29fe5d3704eafec707ba6390c3288c80fe
tree310253af9d51cbce016e3e414e8b5f171484f3bc
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
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