summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset/axxia-reset.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/reset/axxia-reset.c')
-rw-r--r--drivers/power/reset/axxia-reset.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/power/reset/axxia-reset.c b/drivers/power/reset/axxia-reset.c
index f7b40be5d6..2494676676 100644
--- a/drivers/power/reset/axxia-reset.c
+++ b/drivers/power/reset/axxia-reset.c
@@ -80,9 +80,4 @@ static struct platform_driver axxia_reset_driver = {
.of_match_table = of_match_ptr(of_axxia_reset_match),
},
};
-
-static int __init axxia_reset_init(void)
-{
- return platform_driver_register(&axxia_reset_driver);
-}
-device_initcall(axxia_reset_init);
+builtin_platform_driver(axxia_reset_driver);