Re: [RFC] Device: device_get_binding() returns NULL if device fails initialization

Nashif, Anas


On 12/04/2016, 00:23, "Daniel Leung" <daniel.leung(a)> wrote:

and all the existing drivers in one go as well.
I hope we don't consider Kernel device API (init and stuff) as part of
"API 1.0".
The init change will be in another RFC. I am testing locally to see how much
space we can actually save. If it is minimal or non-existent, there is no need
to do that.

AFAIK, the device init interface is not API from my understanding. Application
should not be using these in their code. They are internal to the kernel and
IMO the driver interface is still considered public APIs.
Someone might be using those to write drivers external to Zephyr, changing the signatures will break such drivers.


Daniel Leung

Join to automatically receive all group messages.