device: deprecate DEVICE_AND_API_INIT
Make DEVICE_AND_API_INIT deprecated in favor of DEVICE_DT_INST_DEFINE or DEVICE_DEFINE. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
d1665d32f4
commit
86e98f0894
7 changed files with 15 additions and 17 deletions
|
@ -67,7 +67,7 @@ void z_sys_init_run_level(int32_t _level);
|
|||
* configured by the kernel during system initialization. Note that
|
||||
* init entries will not be accessible from user mode. Also this macro should
|
||||
* not be used directly, use relevant macro such as SYS_INIT() or
|
||||
* DEVICE_AND_API_INIT() instead.
|
||||
* DEVICE_DEFINE() instead.
|
||||
*
|
||||
* @param _entry_name Init entry name. It is the name this instance exposes to
|
||||
* the system.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue