linux-bl808/drivers/clocksource
Daniel Lezcano c77b9d44ac clocksource/drivers/digicolor: Convert init function to return error
The init functions do not return any error. They behave as the following:

  - panic, thus leading to a kernel crash while another timer may work and
       make the system boot up correctly

  or

  - print an error and let the caller unaware if the state of the system

Change that by converting the init functions to return an error conforming
to the CLOCKSOURCE_OF_RET prototype.

Proper error handling (rollback, errno value) will be changed later case
by case, thus this change just return back an error or success in the init
function.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Baruch Siach <baruch@tkos.co.il>
2016-06-28 10:19:20 +02:00
..
acpi_pm.c
arm_arch_timer.c clocksource: arm_arch_timer: Remove arch_timer_get_timecounter 2016-05-03 12:54:21 +02:00
arm_global_timer.c
armv7m_systick.c
asm9260_timer.c clocksource/drivers/asm9260: Convert init function to return error 2016-06-28 10:19:18 +02:00
bcm2835_timer.c
bcm_kona_timer.c
cadence_ttc_timer.c clocksource/drivers/cadence_ttc: Convert init function to return error 2016-06-28 10:19:19 +02:00
clksrc-dbx500-prcmu.c
clksrc-probe.c clocksource/drivers/clksrc-probe: Introduce init functions with return code 2016-06-28 10:19:17 +02:00
clksrc_st_lpc.c clocksource/drivers/st_lpc: Convert init function to return error 2016-06-28 10:19:19 +02:00
clps711x-timer.c clocksource/drivers/clps711x: Convert init function to return error 2016-06-28 10:19:20 +02:00
cs5535-clockevt.c
dummy_timer.c
dw_apb_timer.c
dw_apb_timer_of.c clocksource/drivers/dw_apb_timer: Convert init function to return error 2016-06-28 10:19:19 +02:00
em_sti.c
exynos_mct.c clocksource/drivers/exynos_mct: Convert init function to return error 2016-06-28 10:19:18 +02:00
fsl_ftm_timer.c
h8300_timer8.c
h8300_timer16.c
h8300_tpu.c
i8253.c
Kconfig clocksource/drivers/oxnas-rps: Add Oxford Semiconductor RPS Dual Timer 2016-06-28 10:17:10 +02:00
Makefile clocksource/drivers/oxnas-rps: Add Oxford Semiconductor RPS Dual Timer 2016-06-28 10:17:10 +02:00
meson6_timer.c
metag_generic.c
mips-gic-timer.c
mmio.c
moxart_timer.c
mps2-timer.c
mtk_timer.c clocksource/drivers/mtk_timer: Convert init function to return error 2016-06-28 10:19:18 +02:00
mxs_timer.c
nomadik-mtu.c
numachip.c
pxa_timer.c
qcom-timer.c
rockchip_timer.c clocksource/drivers/rockchip_timer: Convert init function to return error 2016-06-28 10:19:17 +02:00
samsung_pwm_timer.c clocksource/drivers/samsung_pwm_timer: Fix endian accessors 2016-06-28 10:16:49 +02:00
scx200_hrt.c
sh_cmt.c
sh_mtu2.c
sh_tmu.c
sun4i_timer.c
tango_xtal.c
tcb_clksrc.c
tegra20_timer.c
time-armada-370-xp.c clocksource/drivers/armada-370-xp: Make syscore_ops static 2016-06-28 10:16:30 +02:00
time-efm32.c
time-lpc32xx.c
time-orion.c
time-pistachio.c
timer-atlas7.c
timer-atmel-pit.c
timer-atmel-st.c
timer-digicolor.c clocksource/drivers/digicolor: Convert init function to return error 2016-06-28 10:19:20 +02:00
timer-imx-gpt.c
timer-integrator-ap.c
timer-keystone.c
timer-nps.c clocksource: Add NPS400 timers driver 2016-05-09 09:32:31 +05:30
timer-oxnas-rps.c clocksource/drivers/oxnas-rps: Add Oxford Semiconductor RPS Dual Timer 2016-06-28 10:17:10 +02:00
timer-prima2.c
timer-sp.h
timer-sp804.c
timer-stm32.c
timer-sun5i.c
timer-ti-32k.c
timer-u300.c
versatile.c
vf_pit_timer.c
vt8500_timer.c
zevio-timer.c