Daniel Lezcano
de23484dd5
clocksource/drivers/prima2: 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>
2016-06-28 10:19:29 +02:00
..
acpi_pm.c
arm_arch_timer.c
clocksource/drivers/arm_arch_timer: Convert init function to return error
2016-06-28 10:19:22 +02:00
arm_global_timer.c
clocksource/drivers/arm_global_timer: Convert init function to return error
2016-06-28 10:19:22 +02:00
armv7m_systick.c
clocksource/drivers/armv7m_systick: Convert init function to return error
2016-06-28 10:19:20 +02:00
asm9260_timer.c
clocksource/drivers/asm9260: Convert init function to return error
2016-06-28 10:19:18 +02:00
bcm2835_timer.c
clocksource/drivers/bcm2835_timer: Convert init function to return error
2016-06-28 10:19:21 +02:00
bcm_kona_timer.c
clocksource/drivers/bcm_kona: Convert init function to return error
2016-06-28 10:19:21 +02:00
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
clocksource/drivers/clksrc-dbx500: Convert init function to return error
2016-06-28 10:19:21 +02:00
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
clockevents/drivers/dw_apb_timer: Implement ->set_state_oneshot_stopped()
2016-04-28 15:09:03 +02:00
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
clocksource/drivers/fsl_ftm_timer: Convert init function to return error
2016-06-28 10:19:21 +02:00
h8300_timer8.c
clocksource/drivers/h8300_timer8: Convert init function to return error
2016-06-28 10:19:23 +02:00
h8300_timer16.c
clocksource/drivers/h8300_timer16: Convert init function to return error
2016-06-28 10:19:22 +02:00
h8300_tpu.c
clocksource/drivers/h8300_tpu: Convert init function to return error
2016-06-28 10:19:23 +02:00
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
clocksource/drivers/meson6_timer.c: Convert init function to return error
2016-06-28 10:19:23 +02:00
metag_generic.c
mips-gic-timer.c
clocksource/drivers/mips-gic-timer: Convert init function to return error
2016-06-28 10:19:24 +02:00
mmio.c
moxart_timer.c
clocksource/drivers/moxart: Convert init function to return error
2016-06-28 10:19:24 +02:00
mps2-timer.c
clocksource/drivers/mps2-timer: Convert init function to return error
2016-06-28 10:19:24 +02:00
mtk_timer.c
clocksource/drivers/mtk_timer: Convert init function to return error
2016-06-28 10:19:18 +02:00
mxs_timer.c
clocksource/drivers/mxs: Convert init function to return error
2016-06-28 10:19:24 +02:00
nomadik-mtu.c
clocksource/drivers/nomadik-mtu: Convert init function to return error
2016-06-28 10:19:25 +02:00
numachip.c
pxa_timer.c
clocksource/drivers/pxa: Convert init function to return error
2016-06-28 10:19:25 +02:00
qcom-timer.c
clocksource/drivers/qcom: Convert init function to return error
2016-06-28 10:19:25 +02:00
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: Convert init function to return error
2016-06-28 10:19:26 +02:00
scx200_hrt.c
sh_cmt.c
sh_mtu2.c
sh_tmu.c
sun4i_timer.c
clocksource/drivers/sun4i: Convert init function to return error
2016-06-28 10:19:26 +02:00
tango_xtal.c
clocksource/drivers/tango_xtal: Convert init function to return error
2016-06-28 10:19:26 +02:00
tcb_clksrc.c
tegra20_timer.c
clocksource/drivers/tegra20: Convert init function to return error
2016-06-28 10:19:27 +02:00
time-armada-370-xp.c
clocksource/drivers/time-armada-370-xp: Convert init function to return error
2016-06-28 10:19:27 +02:00
time-efm32.c
clocksource/drivers/time-efm32: Convert init function to return error
2016-06-28 10:19:27 +02:00
time-lpc32xx.c
clocksource/drivers/time-lpc32xx: Convert init function to return error
2016-06-28 10:19:27 +02:00
time-orion.c
clocksource/drivers/orion: Convert init function to return error
2016-06-28 10:19:28 +02:00
time-pistachio.c
clocksource/drivers/pistachio: Convert init function to return error
2016-06-28 10:19:28 +02:00
timer-atlas7.c
clocksource/drivers/atlas7: Convert init function to return error
2016-06-28 10:19:28 +02:00
timer-atmel-pit.c
clocksource/drivers/atmel-pit: Convert init function to return error
2016-06-28 10:19:29 +02:00
timer-atmel-st.c
clocksource/drivers/atmel-st: Convert init function to return error
2016-06-28 10:19:29 +02:00
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
clocksource/drivers/prima2: Convert init function to return error
2016-06-28 10:19:29 +02:00
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