iommu/exynos: Simplify internal enable/disable functions
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 14 Nov 2016 10:08:08 +0000 (11:08 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 14 Nov 2016 16:11:59 +0000 (17:11 +0100)
commit47a574fffca10244b7085196e7c0d2dc34eaa6df
tree4d3618a4770b0e2a284ff233064f6bbd58481dc5
parentb0d4c861a99d002d08b74ab7daf95a8674255ba5
iommu/exynos: Simplify internal enable/disable functions

Remove remaining leftovers of the ref-count related code in the
__sysmmu_enable/disable functions inline __sysmmu_enable/disable_nocount
to them. Suspend/resume callbacks now checks if master device is set for
given SYSMMU controller instead of relying on the activation count.

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