commit | 4d0616662370628d1efe433847c44867d3a38dda | [log] [tgz] |
---|---|---|
author | Gerard Marull-Paretas <gerard.marull@nordicsemi.no> | Tue Apr 18 10:56:15 2023 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Apr 19 10:00:25 2023 +0200 |
tree | 64ec82ca44a92e2c0e34cf04fa7658aec6492a0e | |
parent | bcb173becdf400283236af97c5f7fca7733926ac [diff] |
device: allow NULL init function Some devices do not need to perform any initialization, so allow the init function to be NULL. In this case, the initialization code will just mark the device as initialized, i.e. ready. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>