Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- drivers/clocksource/clps711x.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/clocksource/clps711x.c b/drivers/clocksource/clps711x.c index a3070e727..3df2c81e9 100644 --- a/drivers/clocksource/clps711x.c +++ b/drivers/clocksource/clps711x.c @@ -55,9 +55,4 @@ static struct driver_d clps711x_cs_driver = { .probe = clps711x_cs_probe, .of_compatible = DRV_OF_COMPAT(clps711x_timer_dt_ids), }; - -static __init int clps711x_cs_init(void) -{ - return platform_driver_register(&clps711x_cs_driver); -} -coredevice_initcall(clps711x_cs_init); +coredevice_platform_driver(clps711x_cs_driver); -- 2.13.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox