summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/uemd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/uemd.c')
-rw-r--r--drivers/clocksource/uemd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/clocksource/uemd.c b/drivers/clocksource/uemd.c
index 5eacfdaf1b..02fa8a1c5b 100644
--- a/drivers/clocksource/uemd.c
+++ b/drivers/clocksource/uemd.c
@@ -123,8 +123,4 @@ static struct driver_d uemd_timer_driver = {
.of_compatible = DRV_OF_COMPAT(uemd_timer_dt_ids),
};
-static int uemd_timer_init(void)
-{
- return platform_driver_register(&uemd_timer_driver);
-}
-coredevice_initcall(uemd_timer_init);
+coredevice_platform_driver(uemd_timer_driver);