OSDN Git Service

iommu/arm-smmu-v3: Remove useless of_match_ptr()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 24 Dec 2019 08:14:59 +0000 (17:14 +0900)
committerWill Deacon <will@kernel.org>
Fri, 10 Jan 2020 09:49:27 +0000 (09:49 +0000)
commit8efda06f83d65c015a99d99a195df533aec0fcf9
treeab51003be783f48ca820e3f145c56d11d61022b6
parent322a9bbb720cd273d2967a375d1887199b361528
iommu/arm-smmu-v3: Remove useless of_match_ptr()

The CONFIG option controlling this driver, ARM_SMMU_V3,
depends on ARM64, which select's OF.

So, CONFIG_OF is always defined when building this driver.
of_match_ptr(arm_smmu_of_match) is the same as arm_smmu_of_match.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu-v3.c