iommu/mediatek: Remove the tlb-ops for v7s
authorYong Wu <yong.wu@mediatek.com>
Thu, 7 Jan 2021 12:29:09 +0000 (20:29 +0800)
committerWill Deacon <will@kernel.org>
Wed, 27 Jan 2021 12:32:27 +0000 (12:32 +0000)
commit0954d61a59e3c014e52b8d938bc12dc5a2e4949c
treee868b2c45252e0465cfcfb59831879cb8c8fa8ab
parentf21ae3b100840c1439fb326841f24641cf3de4a1
iommu/mediatek: Remove the tlb-ops for v7s

Until now, we have already used the tlb operations from iommu framework,
then the tlb operations for v7s can be removed.

Correspondingly, Switch the paramenter "cookie" to the internal structure.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210107122909.16317-8-yong.wu@mediatek.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/mtk_iommu.c