Daniel Lezcano 43d7560494 clocksource/drivers/arc: 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:35 +02:00
..
2013-08-26 09:40:24 +05:30
2016-04-22 18:12:31 +05:30
2016-04-22 18:12:31 +05:30
2016-05-09 09:32:30 +05:30
2013-04-09 12:21:14 +05:30
2016-03-10 14:44:13 -06:00
2016-05-20 17:58:30 -07:00
2015-07-06 11:09:01 +05:30