linux/arch/nios2
Daniel Lezcano dd1364a743 clocksource/drivers/nios2: 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:34 +02:00
..
boot kbuild: delete unnecessary "@:" 2016-04-20 10:36:57 +02:00
configs nios2: add Max10 defconfig 2015-09-08 18:16:02 +08:00
include asm-generic patch for 4.7 2016-05-24 15:24:37 -07:00
kernel clocksource/drivers/nios2: Convert init function to return error 2016-06-28 10:19:34 +02:00
lib nios2: memset: use the right constraint modifier for the %4 output operand 2016-04-27 16:35:55 +08:00
mm nios2: convert to dma_map_ops 2016-01-20 17:09:18 -08:00
platform
Kconfig lib/GCD.c: use binary GCD algorithm instead of Euclidean 2016-05-20 17:58:30 -07:00
Kconfig.debug nios2: add early printk support 2015-02-10 23:21:08 +08:00
Makefile nios2: Add order-only DTC dependency to %.dtb target 2016-05-19 09:15:00 +08:00