Skip to content

Commit 6efd3b8

Browse files
rmurphy-armjoergroedel
authored andcommitted
iommu/rockchip: : Use standard driver registration
It's been a long time since there was any reason to register IOMMU drivers early. Convert to the standard platform driver helper. CC: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/c08d58bff340da6a829e76d66d2fa090a9718384.1644005728.git.robin.murphy@arm.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 754e0b0 commit 6efd3b8

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

drivers/iommu/rockchip-iommu.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,9 +1407,4 @@ static struct platform_driver rk_iommu_driver = {
14071407
.suppress_bind_attrs = true,
14081408
},
14091409
};
1410-
1411-
static int __init rk_iommu_init(void)
1412-
{
1413-
return platform_driver_register(&rk_iommu_driver);
1414-
}
1415-
subsys_initcall(rk_iommu_init);
1410+
builtin_platform_driver(rk_iommu_driver);

0 commit comments

Comments
 (0)