iommu/tegra-smmu: Extract tegra_smmu_pte_get_use()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 Aug 2015 12:56:39 +0000 (14:56 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 14:06:43 +0000 (16:06 +0200)
commit7ffc6f066eb73b07a0ef7c94d05107aef271ac21
tree976b618114e7527e91d1c234bcd710ca6afec72e
parent707917cbc6ac0c0ea968b5eb635722ea84808286
iommu/tegra-smmu: Extract tegra_smmu_pte_get_use()

Extract the use count reference accounting into a separate function and
separate it from allocating the PTE.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
[treding@nvidia.com: extract and write commit message]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/iommu/tegra-smmu.c