From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMg5t-00071V-Ov for barebox@lists.infradead.org; Sat, 26 May 2018 20:47:18 +0000 Received: by mail-pf0-x242.google.com with SMTP id a14-v6so4097029pfi.1 for ; Sat, 26 May 2018 13:47:07 -0700 (PDT) From: Andrey Smirnov Date: Sat, 26 May 2018 13:44:34 -0700 Message-Id: <20180526204451.16530-32-andrew.smirnov@gmail.com> In-Reply-To: <20180526204451.16530-1-andrew.smirnov@gmail.com> References: <20180526204451.16530-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 31/48] clocksource: armv8-timer: Make use of postcore_platform_driver() To: barebox@lists.infradead.org Cc: Andrey Smirnov Signed-off-by: Andrey Smirnov --- drivers/clocksource/armv8-timer.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/clocksource/armv8-timer.c b/drivers/clocksource/armv8-timer.c index 5e0b9ef3c..918232e0e 100644 --- a/drivers/clocksource/armv8-timer.c +++ b/drivers/clocksource/armv8-timer.c @@ -48,9 +48,5 @@ static struct driver_d armv8_timer_driver = { .probe = armv8_timer_probe, .of_compatible = DRV_OF_COMPAT(armv8_timer_dt_ids), }; +postcore_platform_driver(armv8_timer_driver); -static int armv8_timer_init(void) -{ - return platform_driver_register(&armv8_timer_driver); -} -postcore_initcall(armv8_timer_init); -- 2.17.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox