linux-stable/drivers/clocksource
Daniel Lezcano 38d94c5ae2 clocksource/drivers/stm32: 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: Maxime Coquelin <mcoquelin.stm32@gmail.com>
2016-06-28 10:19:31 +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-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 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
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 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
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
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-sp.h
timer-sp804.c clocksource/drivers/sp804: Convert init function to return error 2016-06-28 10:19:30 +02: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/timer_sun5i: Replace code by clocksource_mmio_init 2015-12-15 09:42:30 +01:00
timer-ti-32k.c clocksource: add TI 32.768 Hz counter driver 2015-10-16 11:06:24 -05:00
timer-u300.c
versatile.c
vf_pit_timer.c clocksource/drivers/vf_pit_timer: Prevent ftrace recursion 2015-10-27 01:33:58 +01:00
vt8500_timer.c Merge branches 'clockevents/4.4-fixes' and 'clockevents/4.5-fixes' of http://git.linaro.org/people/daniel.lezcano/linux into timers/urgent 2016-01-12 11:01:12 +01:00
zevio-timer.c