Files
linux-apfs/arch/nios2/kernel
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
..
2015-02-10 23:21:08 +08:00
2015-04-20 11:11:14 +08:00
2014-12-08 12:55:50 +08:00
2014-12-08 12:55:55 +08:00
2015-02-16 19:26:43 +08:00
2015-02-16 19:26:43 +08:00
2014-12-08 12:56:06 +08:00
2014-12-08 12:56:04 +08:00
2015-11-09 10:33:29 +08:00
2014-12-08 12:55:58 +08:00
2014-12-08 12:55:58 +08:00
2015-04-20 11:11:14 +08:00