arm64: dma-mapping: Remove the notifier trick to handle early setting of dma_ops
authorSricharan R <sricharan@codeaurora.org>
Mon, 10 Apr 2017 11:21:04 +0000 (16:51 +0530)
committerJoerg Roedel <jroedel@suse.de>
Thu, 20 Apr 2017 14:31:08 +0000 (16:31 +0200)
commitb913efe78a7ce1b2e64af7e5dc3a03748b997c61
tree73cb697fd46a49958b53533dd835f601cda44628
parent5a1bb638d5677053c7addcb228b56da6fccb5d68
arm64: dma-mapping: Remove the notifier trick to handle early setting of dma_ops

With arch_setup_dma_ops now being called late during device's probe after
the device's iommu is probed, the notifier trick required to handle the
early setup of dma_ops before the iommu group gets created is not
required. So removing the notifier's here.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
[rm: clean up even more]
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/arm64/mm/dma-mapping.c