Commit 8efda06f authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Will Deacon
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 322a9bbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3722,7 +3722,7 @@ MODULE_DEVICE_TABLE(of, arm_smmu_of_match);
static struct platform_driver arm_smmu_driver = {
	.driver	= {
		.name			= "arm-smmu-v3",
		.of_match_table		= of_match_ptr(arm_smmu_of_match),
		.of_match_table		= arm_smmu_of_match,
		.suppress_bind_attrs	= true,
	},
	.probe	= arm_smmu_device_probe,