diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-06-06 17:58:03 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-06-28 10:19:24 +0200 |
commit | e1d2b9f024c519788c044ee6a5f694d69973791e (patch) | |
tree | f89877d3ded895a97b848b7aa88734d813ccb652 /lib | |
parent | clocksource/drivers/mps2-timer: Convert init function to return error (diff) | |
download | linux-e1d2b9f024c519788c044ee6a5f694d69973791e.tar.xz linux-e1d2b9f024c519788c044ee6a5f694d69973791e.zip |
clocksource/drivers/mxs: Convert init function to return error
The init function does not return any error, it prints a message, returns and
lets 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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions