Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-17

[PATCH V3] clocksource/drivers/time-efm32: Convert init function to return error

From: Uwe Kleine-König <hidden>
Date: 2016-06-17 09:46:55
Also in: lkml

On Fri, Jun 17, 2016 at 10:44:19AM +0200, Daniel Lezcano wrote:
The init functions do not return any error and let the caller unaware of
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 <redacted>
Acked-by: Uwe Kleine-K?nig <redacted>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help