linux/drivers/clocksource
Daniel Lezcano 979d7f28ff clocksource/drivers/vt8500: 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:33 +02:00
..
acpi_pm.c clocksource/drivers/acpi_pm: Convert to pr_* macros 2015-12-29 12:52:57 +01:00
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_st_lpc.c clocksource/drivers/st_lpc: 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
clps711x-timer.c clocksource/drivers/clps711x: Convert init function to return error 2016-06-28 10:19:20 +02:00
cs5535-clockevt.c clockevents/drivers/cs5535: Migrate to new 'set-state' interface 2015-08-06 12:16:42 +02:00
dummy_timer.c clockevents/drivers/dummy_timer: Migrate to new 'set-state' interface 2015-08-10 11:40:28 +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
dw_apb_timer.c clockevents/drivers/dw_apb_timer: Implement ->set_state_oneshot_stopped() 2016-04-28 15:09:03 +02:00
em_sti.c clocksource/drivers/em_sti: Remove unneeded memset()s 2015-10-15 17:41:59 +02:00
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 clockevents/drivers/i8253: Migrate to new 'set-state' interface 2015-08-10 11:40:30 +02:00
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 clockevents/drivers/metag_generic: Migrate to new 'set-state' interface 2015-08-10 11:40:31 +02:00
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 clocksource: Mmio: remove artificial 32bit limitation 2015-12-10 19:37:18 +01:00
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 x86/numachip: Fix timer build conflict 2015-09-23 05:39:20 +02:00
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 clocksource: scx200_hrt: Fix the build 2012-02-22 13:25:16 +01:00
sh_cmt.c clocksource/drivers/sh_cmt: Remove unneeded memset() in sh_cmt_setup() 2015-10-15 17:42:00 +02:00
sh_mtu2.c clocksource/drivers/sh_mtu2: Fix multiple shutdown call issue 2015-10-28 15:22:56 +01:00
sh_tmu.c clocksource/drivers/sh_tmu: Fix traceback spotted in -next 2015-08-10 11:40:57 +02:00
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 clockevents/tcb_clksrc: Prevent disabling an already disabled clock 2016-01-15 11:40:44 +01:00
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 clocksource/drivers/imx-gpt: Convert init function to return error 2016-06-28 10:19:29 +02:00
timer-integrator-ap.c clocksource/drivers/integrator-ap: Convert init function to return error 2016-06-28 10:19:30 +02:00
timer-keystone.c clocksource/drivers/keystone: Convert init function to return error 2016-06-28 10:19:30 +02:00
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-sp804.c clocksource/drivers/sp804: Convert init function to return error 2016-06-28 10:19:30 +02:00
timer-sp.h ARM: 8366/1: move Dual-Timer SP804 driver to drivers/clocksource 2015-06-02 09:58:18 +01:00
timer-stm32.c clocksource/drivers/stm32: Convert init function to return error 2016-06-28 10:19:31 +02:00
timer-sun5i.c clocksource/drivers/sun5i: Convert init function to return error 2016-06-28 10:19:31 +02:00
timer-ti-32k.c clocksource/drivers/ti-32k: Convert init function to return error 2016-06-28 10:19:31 +02:00
timer-u300.c clocksource/drivers/u300: Convert init function to return error 2016-06-28 10:19:32 +02:00
versatile.c clocksource/drivers/versatile: Convert init function to return error 2016-06-28 10:19:32 +02:00
vf_pit_timer.c clocksource/drivers/vf_pit_timer: Convert init function to return error 2016-06-28 10:19:32 +02:00
vt8500_timer.c clocksource/drivers/vt8500: Convert init function to return error 2016-06-28 10:19:33 +02:00
zevio-timer.c clockevents/drivers/zevio: Migrate to new 'set-state' interface 2015-08-10 11:40:51 +02:00