summaryrefslogtreecommitdiffstats
path: root/arch/efi
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-10-30 12:06:09 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-10 08:42:19 +0100
commit9a4cb25a39eb82c7f0c373f4e5186e195d6a318e (patch)
treed959dd3dd4cf1db16381c4fe4183dcf744401048 /arch/efi
parentea5abfb5c1e99bc4c67841c400c25ca83ddd9702 (diff)
downloadbarebox-9a4cb25a39eb82c7f0c373f4e5186e195d6a318e.tar.gz
barebox-9a4cb25a39eb82c7f0c373f4e5186e195d6a318e.tar.xz
treewide: Reuse init_clock() return value for clocksource drivers
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/efi')
-rw-r--r--arch/efi/efi/clocksource.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/efi/efi/clocksource.c b/arch/efi/efi/clocksource.c
index 2f33b43cce..c92c35b112 100644
--- a/arch/efi/efi/clocksource.c
+++ b/arch/efi/efi/clocksource.c
@@ -54,7 +54,5 @@ int efi_clocksource_init(void)
freq = ticks_freq();
- init_clock(&cs);
-
- return 0;
+ return init_clock(&cs);
}