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
..
2016-04-20 10:36:57 +02:00
2015-09-08 18:16:02 +08:00
2016-05-24 15:24:37 -07:00
2016-01-20 17:09:18 -08:00
2014-12-08 12:56:06 +08:00
2015-02-10 23:21:08 +08:00